Resize first, then rotate to limit the height on rotated images.
Quiet exiftool.