[magick-users] EXIF rotation flag
Anthony Thyssen
anthony at griffith.edu.au
Wed Dec 6 20:43:46 CST 2006
"Roger Howard" on wrote...
| Is there any interest or plan to support image rotation flags set in EXIF
| for JPEG/TIFF so that IM operations respect the flag implicitly and do
| automatic rotation when operating on source files with these flags set?
|
| Currently I'm pre-checking my images for these flags and then passing
| rotation commands along to IM as necessary, but I can't see a reason this
| shouldn't be directly supported in IM - but if it's not supported I'm sure
| there's a good reason! I'd imagine this has come up before (many times)
| but I couldn't find a search feature for this list's archive and my stabs
| at finding such a thread in Google didn't turn up much of use.
| Best,R
|
It is supported!!!
Try
-auto-orient
which rotates the image according to the EXIF flag. (Added to IM v6.2.7-8)
To rotate back, do it three times which should return it to the former
position, regardless of what this is.
Also of note...
Rotate ALL images to landscape -rotate 90\<
portrait -rotate -90\>
WARNING: Loading and saving JPG images causes a slight image data
degrading, unless the specialized "jpegtrans" is used to do that
rotation.
Anyone with a simple script fo auto-rotate images basied on
EXIF orientation using "jpegtrans"?
Anthony Thyssen ( System Programmer ) <A.Thyssen at griffith.edu.au>
-----------------------------------------------------------------------------
If we forget to respect our Great Earth Mother,
She will withhold Her blessings, and no longer provide for us.
-- Jean M. Auel "The Mammoth Hunters"
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/
More information about the Magick-users
mailing list