Last modified: 2014-11-19 12:54:07 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T75602, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 73602 - Mirrored EXIF rotations are not applied to thumbnails
Mirrored EXIF rotations are not applied to thumbnails
Status: NEW
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.25-git
All All
: Normal trivial (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 31504
  Show dependency treegraph
 
Reported: 2014-11-19 10:53 UTC by Tisza Gergő
Modified: 2014-11-19 12:54 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Tisza Gergő 2014-11-19 10:53:41 UTC
EXIF allows 8 possible values for the Orientation field: 0°, 90°, 180°, 270°, and the same four for the mirror image of the original. The last four are not used often, but are supported to some degree by the browsers. (See http://www.daveperrett.com/articles/2012/07/28/exif-orientation-handling-is-a-ghetto/ for an overview of support.)

MediaWiki ignores mirrored rotations when generating thumbnails - the EXIF information is stripped, and the physical orientation is left unchanged. See [[commons:File:EXIF rotation 90 mirrored.jpg]] for an example (depending on the browser, you might need to open the image directly to see the correct position, or you might not see it at all - Chrome positions it correctly when viewed directly but not when viewed on a page).

Obviously this is Priority: No One Cares but filing it anyway for the sake of completeness.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links