How to auto rotate images based on EXIF Orientation tag?

How to auto rotate images based on EXIF Orientation tag-1Everyone of us probably has hundreds if not thousands of images taken with his digital camera or cell phone. When viewing these pictures on computer (or TV) you will find that lots of pictures needs to be rotated to be displayed correctly. Doing this by hand can really take some time. Luckily, I have found an easier way of solving this problem. It’s also very fast and easy to use!

Most of modern digital cameras (and cellphones) save many extra data to JPEG. That’s called EXIF data. Many useful information about how the picture was taken is stored in there. In sample I provided on the right you can see part of the EXIF data saying that the picture was made using my Nikon D50, that I didn’t use the flash and that exposure time is 1/250 sec and that focal length was 80mm. Beside that, there are many other details that are not displayed in this sample, and among those is Orientation tag that says how the camera was positioned in time of shooting.

Our mission is to automatically rotate multiple images in batch using data saved under that field. For that purpose I will use FastStone Image Viewer that you can download from my favorite software download site FileHorse.com. This software is free for personal use (professionals should buy a license). It’s really amazing piece of software for image manipulation (viewing, converting, cropping, re-sizing, watermarking – you name it!)

How to auto rotate images based on EXIF Orientation tag-2

Ok, once you’ve downloaded, installed and started FastStone Image Viewer, you need to find images that you need to rotate. Once in folder with images select them by pressing CTRL+A and then go to Tools – > JPEG Lossless Rotate -> Auto-Rotate based on EXIF Orientation Tag just like on picture above. A popup will ask you are you sure you want to do it, press yes and wait until your photos are auto rotated (if you have lots of photos or slower computer it can take some time to process them all). It’s easy as 1-2-3! Take a look at the samples below:

Before Rotation
How to auto rotate images based on EXIF Orientation tag-before

After Rotation
How to auto rotate images based on EXIF Orientation tag-after

Feel free to leave your comments in the comment box below!

This post helped you out? Why not buy me a coffee?

Amount
Your message for me
WordPress stuck with “Briefly unavailable for scheduled maintenance…”
Web host is adding ?PHPSESSID to the end of all URLs

Leave a Reply

Your email address will not be published / Required fields are marked *