We took some photos during a holiday and my friend requested me to email to him some of his nice photos. He received his photos and asked me, "why are you sending me photos upside down?" I answered, "sorry, but they all look nice on my computer."
If this sounds familiar to you, here is why the photos look upside down and how you can display them properly.
When you use a mobile device and rotate it to take a photo, your device may capture a rotated image and save it in a jpg file with an Exif orientation tag indicating that the photo is rotated.
Either one of these orientation tag values, 1, 8, 3 and 6 is often written to the jpg file when you take a photo by rotating a camera 0, 90, 180 and 270 degrees counterclockwise (ccw) respectively. The diagrams here show how an image may be saved using a camera or a smartphone:
Rotate 90° ccw,
Rotate 180° ccw,
Rotate 270° ccw,
When you check out the Exif data of an image, it may just tell you the image orientation is "top-left" or otherwise. This is made easy to understand with a red dot in the above diagrams. A red dot represents a point where the first column and the first row of an image intersect, thus it's "top-left" for the first image without rotation, "left-bottom" for the second image rotated 90 degrees counterclockwise, and so on.
If you view photos using an app supporting the Exif orientation, the app displays the photos properly by auto rotating them based on their orientation tag. But if you view photos in an application, such as Windows Explorer in Windows 7, that does not support the Exif orientation, you will notice that some photos are turned either upside down or sideways, exactly the way they are saved inside the files regardless of the orientation tag.
Sounds problematic? The good news is you can fix it yourself if you want to make sure your snapped photos are displayed properly in all applications.
Use an application, such as XnView (download here), that allows you to rotate images based on the Exif value and save them back to the normal orientation.
For example, in XnView, browse to a folder containing only the jpg files, click to select a rotated image or if needed, press Ctrl+A to select all files, then click "Tools" on the menu bar, select "JPEG lossless transformations" then "Rotate based on Exif value". The files are then saved with photos rotated to the normal orientation ("top-left") and their orientation value reset to 1, good for viewing in any other applications either they support the Exif orientation or not.
And there you have it, no more upside-down photos.
Get your own favorite tip published! Know a neat tech tip or trick? Then why not have it published here and receive full credit? Click here to tell us your tip.
This article is maintained by volunteer editor Jojo Yee. Registered members can contact the editor with comments or suggestions by clicking here. You can visit the Google+ profile page of Jojo Yee here.
Please rate this article: