Page 1 of 1

Have to use 6.2.4, fix for missing "-auto-orient"?

Posted: 2008-04-29T05:39:11-07:00
by webunity
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!

Re: Have to use 6.2.4, fix for missing "-auto-orient"?

Posted: 2008-05-20T23:59:46-07:00
by anthony
The best 'fix' is to use "jhead" whcih will rotate images without lossing quality due to reading/writing a JPEG image.