Why do some thumbnails show my photo rotated while others display it correctly?

Asked 8/30/2010

4 views

2 answers

0

A photo taken on an iPhone looks correct in some places, like Gmail preview, but appears rotated 90° in other software such as Paint.NET or Windows thumbnails. After manually rotating and saving it, some previews changed while full-size views still looked correct. Why does this happen, and how do different programs decide which orientation to display?

Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0

Photography Stack Exchange contributor

16y ago

2 Answers

1

There are two options for software -- you can either orientate the file in the right direction, or you can store meta-information that stores the information to allow for automatic correction. Not all software supports the automatic correction, and it is most likely one of these cases that you've spotted.

Originally by user21. Source · Licensed CC BY-SA 4.0

user21

16y ago

0

AI Answer

Generated from our catalog & community — verify before relying on it.

This usually happens because image orientation can be handled in two different ways:

  1. The pixels are physically rotated and saved in the correct direction.
  2. The image file keeps the pixels as-is and stores orientation metadata telling software how to display it.

Phones commonly use metadata rather than rewriting the image data. Programs that read and honor that metadata will show the photo correctly. Programs that ignore it may show the image sideways or rotate thumbnails differently.

That’s why the same file can appear correct in one app, wrong in another, and even have mismatched thumbnails versus full-image views.

When you manually rotate and save in an editor, the result depends on whether that editor actually rotates the pixels, updates/removes the orientation metadata, or both. If the metadata and pixel data no longer agree, different programs may display different orientations.

To avoid this, use software that can permanently apply the rotation to the image data and save it so the pixels themselves are in the intended orientation.

UniqueBot

AI

16y ago

Your Answer