[gthumb-list] Bug: EXIF orientation is broken after resize
- From: damien clochard <damien dalibo info>
- To: gthumb <gthumb-list gnome org>
- Subject: [gthumb-list] Bug: EXIF orientation is broken after resize
- Date: Sun, 27 Jan 2013 23:01:46 +0100
Ubuntu 12.10
gthumb 3.0.2
Feels like a regression bug to me because I've been using this for ages.
But since I upgraded to Ubuntu 12.10, the resize feature has this weird
behaviour.
Steps to reproduce :
1/ open image with gthumb
2/ Go to tools > resize images
3/ width : 30% | height : 30% | Desktop | keep format |
3/ Execute
4/ Save as a new file
The new file has a different orientation.
See example below:
Before: http://nawak.taadeem.net/DSC_1114.orig.JPG
After: http://nawak.taadeem.net/DSC_1114.resized.JPG
The original file comes from a Nikon D80, so I assume its format is correct.
However the EXIF orientation has changed :
######################################################
$ exif -t Orientation DSC_1114.orig.JPG
EXIF entry 'Orientation' (0x112, 'Orientation') exists in IFD '0':
Tag: 0x112 ('Orientation')
Format: 3 ('Short')
Components: 1
Size: 2
Value: Left-bottom
$ exif -t Orientation DSC_1114.resized.JPG
EXIF entry 'Orientation' (0x112, 'Orientation') exists in IFD '0':
Tag: 0x112 ('Orientation')
Format: 3 ('Short')
Components: 1
Size: 2
Value: Top-left
######################################################
The ResolutionUnit is corrupted too:
######################################################
$ exif -t ResolutionUnit DSC_1114.orig.JPG
EXIF entry 'Resolution Unit' (0x128, 'ResolutionUnit') exists in IFD '0':
Tag: 0x128 ('ResolutionUnit')
Format: 3 ('Short')
Components: 1
Size: 2
Value: Inch
EXIF entry 'Resolution Unit' (0x128, 'ResolutionUnit') exists in IFD '1':
Tag: 0x128 ('ResolutionUnit')
Format: 3 ('Short')
Components: 1
Size: 2
Value: Inch
damien fey:~/Bureau$ exif -t ResolutionUnit DSC_1114.resized.JPG
EXIF entry 'Resolution Unit' (0x128, 'ResolutionUnit') exists in IFD '0':
Tag: 0x128 ('ResolutionUnit')
Format: 3 ('Short')
Components: 1
Size: 2
Value: Inch
EXIF entry 'Resolution Unit' (0x128, 'ResolutionUnit') exists in IFD '1':
Tag: 0x128 ('ResolutionUnit')
Format: 9 ('SLong')
Components: 1
Size: 4
Corrupt data
The data provided does not follow the specification.
ExifEntry: The tag 'ResolutionUnit' contains data of an invalid format
('SLong', expected 'Short').
######################################################
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]