Advanced

Baking EXIF rotations in photos?

Forum: LinuxTotal Replies: 1
Author Content
Sander_Marechal

Nov 05, 2010
4:58 AM EDT
Hi all, I need some help with modifying photos. I regularly handle very large photo sets. Many photos have been taken with the camera sideways. Luckily, the rotation of the camera at the time of the photo is stored in the EXIF data of the image. So, when I view the images in Nautilus or my photo viewer, I see the image correctly.

But, I have to publish all these photos to a website and browsers don't understand EXIF rotation data. So, I need some way to "bake" the rotation into the image. That is, some kind of script or tool that looks at the EXIF data, checks to see if the image should be rotated and if so, it rotates the physical JPEG and deletes the EXIF rotation.

Is there any tool that can do this? Manually rotating hundreds of images gets boring really quickly.
Sander_Marechal

Nov 05, 2010
5:42 AM EDT
Nevermind. I already found something: jhead -autorot: http://linux.die.net/man/1/jhead

Post a reply to this thread:

A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.

Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help

Sign up and post (it is free)  or  Log in and post