Opened 10 years ago

Closed 10 years ago

#8489 closed defect (fixed)

Honour exif rotation even when locale is not english

Reported by: eallaud@… Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: Plugin - MythGallery Version: Unspecified
Severity: low Keywords: exif, orientation
Cc: Ticket locked: no


Use libexif low level methods to retrieve a short integer describing the natural rotation of a picture (eg when you take a portrait the camera adds this tag to tell processing/displaying software that the real picture is obtained by a rotation of the stored picture which is in landscape by default. I have seen that there was a new code commented out, I hope not to step on someone else toes ;-)

Attachments (1)

mythgallery-orientation.diff (2.3 KB) - added by eallaud@… 10 years ago.
diff file against trunk

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by eallaud@…

diff file against trunk

comment:1 Changed 10 years ago by robertm

Resolution: fixed
Status: newclosed

(In [24862]) MythGallery: Fix #8489. Slightly modified patch from Emmanuel to determine rotation of an image from the short integer value versus the text of the rotation. Previously, cameras with localized orientation information would fail with this code. This sidesteps the translation/localization issue entirely. Only changed comment length, tabs to four spaces and other project coding standards changes.

Note: See TracTickets for help on using tickets.