Opened 14 years ago
Closed 14 years ago
#8489 closed defect (fixed)
Honour exif rotation even when locale is not english
Reported by: | Owned by: | Isaac Richards | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | Plugin - MythGallery | Version: | Unspecified |
Severity: | low | Keywords: | exif, orientation |
Cc: | Ticket locked: | no |
Description
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)
Change History (2)
Changed 14 years ago by
Attachment: | mythgallery-orientation.diff added |
---|
comment:1 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
(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.
diff file against trunk