Since i migrated from servers, i have to use "Convert" version 6.2.4. This version does not have the -auto-orient function build in. So i decided to read the EXIF_DATA and base my command line parameters on this.
Depending on the EXIF data, i get a number returned from 1 to 8. On this page ( http://sylvana.net/jpegcrop/exif_orientation.html ) i have found this list:
Value 0th Row 0th Column
1 top left side
2 top right side
3 bottom right side
4 bottom left side
5 left side top
6 right side top
7 right side bottom
8 left side bottom
Does this mean that the image is auto-oriented when i pass these options correctly: ?
e.g. "convert ... -orient bottom-left" for "exif type 1"?
e.g. "convert ... -orient bottom-right" for "exif type 2"?
Thanx!
Have to use 6.2.4, fix for missing "-auto-orient"?
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Have to use 6.2.4, fix for missing "-auto-orient"?
The best 'fix' is to use "jhead" whcih will rotate images without lossing quality due to reading/writing a JPEG image.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/