Steps to reproduce:
- Run the attached CutOffImage sample on macOS.
The sample prints four rectangles:
1. size 300x100, portrait orientation
2. size 300x100, landscape orientation
3. size 100x300, portrait orientation
4. size 100x300, landscape orientation
The first image (300x100, portrait) where width is larger than height with portrait orientation and fourth (100x300, landscape) where height is large than width with landscape orientation cut off.
See attached cut-of-image.pdf where the content has been printed to pdf.