Anyone cleaning phone photos · 6 min read

Why cleaned photos sometimes appear rotated

How EXIF orientation works, why indiscriminate metadata removal can turn a phone photo sideways, and two safe cleaning strategies.

01

The stored pixels may be sideways

Many cameras store pixels in the sensor orientation and add an EXIF Orientation value that tells viewing software how to rotate or mirror the display. Removing that instruction without changing the pixels can make the copy look wrong.

02

Strategy one: preserve a minimal orientation tag

A lossless JPEG cleaner can remove private directories and add back a tiny EXIF block containing only the orientation instruction. The compressed image data remains untouched.

03

Strategy two: normalize the pixels

A flattening workflow decodes the displayed image, draws it in the correct direction, and exports new pixels without an orientation tag. This is appropriate when redactions must become permanent.

04

Test all eight orientation values

EXIF defines rotations and mirrored variants. Automated fixtures should cover values one through eight, and browser tests should compare the visible result as well as metadata.

Put it into practice

Check the exact photo you plan to share

The scanner works locally and does not add your filename or extracted metadata to an analytics request.

Open the privacy check