GNOME Bugzilla – Bug 333102
Image rotation action does not update the EXIF tag correctly
Last modified: 2006-03-05 11:53:15 UTC
When I rotate an image, the resulting EXIF tag is not completely updated with the new orientation. EXIF dump before rotation: > exiftran -d foo.jpg foo.jpg ifd 0 0x010f Manufacturer FUJIFILM 0x0110 Model FinePix F11 0x0112 Orientation left - bottom 0x011a x-Resolution 72.00 0x011b y-Resolution 72.00 0x0128 Resolution Unit Inch 0x0131 Software Digital Camera FinePix F11 Ver1.01 0x0132 Date and Time 2006:03:02 18:52:31 0x0213 YCbCr Positioning co-sited 0x8298 Copyright [None] (Photographer) - [None] (Editor) ifd 1 0x0103 Compression JPEG compression 0x0112 Orientation left - bottom 0x011a x-Resolution 72.00 0x011b y-Resolution 72.00 0x0128 Resolution Unit Inch 0x0213 YCbCr Positioning co-sited /.../ Notice the two places where the orientation is stored. gthumb only updates the first, so this is what I get after rotation: > exiftran -d foo.jpg foo.jpg ifd 0 0x010f Manufacturer FUJIFILM 0x0110 Model FinePix F11 0x0112 Orientation top - left 0x011a x-Resolution 72.00 0x011b y-Resolution 72.00 0x0128 Resolution Unit Inch 0x0131 Software Digital Camera FinePix F11 Ver1.01 0x0132 Date and Time 2006:03:02 18:52:31 0x0213 YCbCr Positioning co-sited 0x8298 Copyright [None] (Photographer) - [None] (Editor) ifd 1 0x0103 Compression JPEG compression 0x0112 Orientation left - bottom 0x011a x-Resolution 72.00 0x011b y-Resolution 72.00 0x0128 Resolution Unit Inch 0x0213 YCbCr Positioning co-sited /.../ This bug causes problems with e.g. gimp that apparently favors the orientation setting in ifd 1, whereas most other programs I've tried uses the one in ifd 0.
fixed in current CVS, thanks.