The EXIF Orientation Tag: Why Photos Turn Sideways
Ever removed metadata from a photo and found it turned sideways? The culprit is the EXIF orientation tag.
How cameras handle rotation
When you take a photo holding your phone sideways or upside down, many cameras don't rotate the pixels. They save the image in the sensor's natural orientation and add an EXIF tag saying how to display it. Viewers read the tag and rotate the image on screen.
The orientation values
The tag has eight possible values. The common ones are:
- 1: normal
- 3: rotated 180°
- 6: rotated 90° clockwise
- 8: rotated 90° counter-clockwise
Values 2, 4, 5 and 7 include mirroring.
Why removing metadata can cause sideways photos
If a tool deletes all EXIF data, including the orientation tag, without rotating the pixels, viewers no longer know to rotate the image. A portrait photo then appears sideways.
How GetFileClean handles it
When a JPG has an orientation other than normal, GetFileClean first turns the actual pixels upright, then saves the image without metadata. Your photo appears the right way up everywhere. For normal-orientation photos, metadata is removed without re-saving the image at all.
Fixing already-sideways photos
If you've cleaned photos with another tool and they're now sideways, rotate them in any photo editor and save. The rotation will now be part of the pixels.
Topics in this guide
- exif orientation tag
- photo sideways after removing metadata
- image rotation exif
- fix rotated photo
- orientation metadata