convert -auto-orient and EXIF thumbnails

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
cicciux

convert -auto-orient and EXIF thumbnails

Post by cicciux »

Hello,
I have a problem.

I'm doing the auto-rotation of some JPEG files usinig the followin command line:

convert -auto-orient filename.jpg filename_conv.jpg

The Exif Thumbnails inside the file remain in the original position.
How do I make these rotate in the same way of the file ?

Thanks a lot
Fabrizio
brian_jackson

Re: convert -auto-orient and EXIF thumbnails

Post by brian_jackson »

I think that's a little more complicated :?

Might want take a look at jhead (http://www.sentex.net/~mwandel/jhead/) for the thumbnail manipulation. I use it to extract, modify and replace the embedded thumbnail. It's quit zippy and efficient at this process, but I don't think it can do it in 1 command, although I haven't dug intot he newer features yet.
cicciux

Re: convert -auto-orient and EXIF thumbnails

Post by cicciux »

Hi Brian,
first of all thanks for your post in reply.
You're right.
I used jhead to realize my program. It works perfect.

Thanks
Fabrizio
Post Reply