Home » Questions » Computers [ Ask a new question ]

How to rotate images automatically, based on exif data

How to rotate images automatically, based on exif data

When I make pictures with my camera (Olympus E-520), in the EXIF data the orientation is stored.

Asked by: Guest | Views: 238
Total answers/comments: 2
Guest [Entry]

exiftran and JHead (jhead -autorot) can do this. exiftran can do this losslessly, not sure about jhead.
Guest [Entry]

"You can use XnView to do that. Check out these pages for info on using XnView to do auto-rotation in batch mode:

http://newsgroup.xnview.com/viewtopic.php?t=1420
http://newsgroup.xnview.com/viewtopic.php?t=13424 (check out ""Follow orientation"" option)
http://graphicssoft.about.com/od/xnview/qt/batchresize.htm (check out ""Follow orientation"" option)

In Windows, you can do that using IrfanView. From IrfanView website FAQ section:

Q: How to use JPG lossless operations (Rotation, IPTC, Comment) in batch mode?
A: Start the Thumbnail window, open the folder with JPGs, select many JPGs and see in thumbnail menu File for JPG Lossless Operations -> Lossless transformations with selected thumbs. Note: The auto-rotation option works only if the EXIF orientation tag is properly saved (not top-left)."