Doing "convert 2018-04-11-0001.jpg -resize 172x172" on the attached image (960x1280) results in an image that's resulted 90° (172x129, should be 129x172).
Any obvious reason that this is happening?

I'm getting the same 90% rotation regardless of the filenameBonzo wrote: 2018-04-22T11:02:27-07:00 It is never good to have - in an image name. I always use _ instead.
Try enclosing your image in " " e.g. convert "2018-04-11-0001.jpg" -resize 172x172
Code: Select all
exiftool -n -Orientation=0 abcd.jpg
Very interesting. I'm tracing the image through my workflow (Photo Supreme for cataloging, DxO Photolab for editing) to see where the problem occurs…snibgo wrote: 2018-04-22T11:05:50-07:00 The camera was held vertically to take the photo, and metadata correctly recorded this. Then some software rotated the image to make it vertical but without also changing the metadata, so some viewers will rotate it again.
Code: Select all
convert -auto-orient 2018-04-11-0001.jpg -resize 172x172" ...
That doesn't seem to do the trick.fmw42 wrote: 2018-04-22T14:33:01-07:00 try adding -auto-orient to your command
Code: Select all
convert -auto-orient 2018-04-11-0001.jpg -resize 172x172" ...
Code: Select all
exiftool -P -overwrite_original_in_place -Orientation=0 -n <thumbnail file>