GNOME Bugzilla – Bug 758293
tiff: TIFFTAG_ORIENTATION values range from 1 to 8
Last modified: 2015-11-18 17:41:44 UTC
The expected values for TIFFTAG_ORIENTATION are 1 to 8, not 0 to 7. See: https://partners.adobe.com/public/developer/en/tiff/TIFF6.pdf http://www.awaresystems.be/imaging/tiff/tifftags/orientation.html Also see the implementation of gdk_pixbuf_apply_embedded_orientation [1] and the handling of TIFFTAG_ORIENTATION in GdkPixbuf's TIFF loader [2]. [1] https://git.gnome.org/browse/gdk-pixbuf/tree/gdk-pixbuf/gdk-pixbuf-util.c#n291 [2] https://git.gnome.org/browse/gdk-pixbuf/tree/gdk-pixbuf/io-tiff.c#n190
Created attachment 315840 [details] [review] tracker-extract-tiff: Fix extraction of orientation values
From #tracker on GIMPNet: 16:25 <rishi> garnacho: ssam2: abustany: Filed a couple of nfo:orientation bugs: https://bugzilla.gnome.org/show_bug.cgi?id=758295 and https://bugzilla.gnome.org/show_bug.cgi?id=758293 16:30 <garnacho> rishi, thanks :), the patches look alright to me
Pushed to master and tracker-1.6.