[Kde-imaging] [Bug 144604] Rotation causes Exif data corruption
Gerhard Kulzer
gerhard at kulzer.net
Thu Apr 26 22:06:15 CEST 2007
Am Thursday 26 April 2007 schrieb Andreas Huggel:
> ------- You are receiving this mail because: -------
> You are the assignee for the bug, or are watching the assignee.
>
> http://bugs.kde.org/show_bug.cgi?id=144604
>
>
>
>
> ------- Additional Comments From ahuggel gmx net 2007-04-26 13:26 -------
> Gilles,
>
> Exiv2 typedef unsignedLong is correct for Exif type LONG.
>
> There is a misunderstanding here. The Exif standard uses a terminology
> which is different from C++:
>
> Types as defined in the Exif standard (page 14)
> Value Name Desc
> 4 LONG A 32 bit unsigned integer
> 9 SLONG A 32 bit signed integer
>
> Exiv2 uses typedefs unsignedLong and signedLong and names "Long" and
> "SLong" respectively.
>
> Can you please point me to the libkexiv2 code I should look at?
>
> Have you tried to reproduce the problem in digiKam on your computer? If you
> can, can you also reproduce the problem with the exiv2 tool alone, just by
> running the same commands using the modify action?
>
>
> Gerhard,
>
> I suggest you report this as a separate issue, once you have more
> information and it still looks like digiKam/exiv2 is not doing the right
> thing. The question here is whether the GPS tags in those images conform to
> the Exif standard. For a start, use exiv2 -pt and exiv2 -pv to check.
Digikam JPG exiv2 -pt
Exif.GPSInfo.GPSVersionID Byte 4 2 0 0 0
Exif.GPSInfo.GPSLatitudeRef Ascii 2 North
Exif.GPSInfo.GPSLatitude SRational 3 63deg 59.35280'
Exif.GPSInfo.GPSLongitudeRef Ascii 2 West
Exif.GPSInfo.GPSLongitude SRational 3 22deg 35.68542'
Exif.GPSInfo.GPSAltitudeRef Byte 1 Above sea level
Exif.GPSInfo.GPSAltitude SRational 1 37.6 m
Exif.GPSInfo.GPSMapDatum Ascii 7 WGS-84
exiv2 -pv
0x0000 GPSInfo GPSVersionID Byte 4 2 2 0 0
0x0001 GPSInfo GPSLatitudeRef Ascii 2 N
0x0002 GPSInfo GPSLatitude Rational 3 29/1 29/1
2314/100
0x0003 GPSInfo GPSLongitudeRef Ascii 2 W
0x0004 GPSInfo GPSLongitude Rational 3 89/1 42/1
723/100
0x0005 GPSInfo GPSAltitudeRef Byte 1 0
0x0006 GPSInfo GPSAltitude Rational 1 4294967273/1
0x0007 GPSInfo GPSTimeStamp Rational 3 14/1 4/1 31/1
Other source JPG exiv2 -pt (this one works with Gallery 2.2)
Exif.GPSInfo.GPSVersionID Byte 4 2 2 0 0
Exif.GPSInfo.GPSLatitudeRef Ascii 2 North
Exif.GPSInfo.GPSLatitude Rational 3 29deg 29' 23.140"
Exif.GPSInfo.GPSLongitudeRef Ascii 2 West
Exif.GPSInfo.GPSLongitude Rational 3 89deg 42' 7.230"
Exif.GPSInfo.GPSAltitudeRef Byte 1 Above sea level
Exif.GPSInfo.GPSAltitude Rational 1 4294967296 m
Exif.GPSInfo.GPSTimeStamp Rational 3 14:04:31
exiv2 -pv
0x0000 GPSInfo GPSVersionID Byte 4 2 0 0 0
0x0001 GPSInfo GPSLatitudeRef Ascii 2 N
0x0002 GPSInfo GPSLatitude SRational 3 63/1
59352804/1000000 0/1
0x0003 GPSInfo GPSLongitudeRef Ascii 2 W
0x0004 GPSInfo GPSLongitude SRational 3 22/1
35685424/1000000 0/1
0x0005 GPSInfo GPSAltitudeRef Byte 1 0
0x0006 GPSInfo GPSAltitude SRational 1 376285/10000
0x0012 GPSInfo GPSMapDatum Ascii 7 WGS-84
This is my first diagnostics.
Gerhard
> -ahu.
> _______________________________________________
> Kde-imaging mailing list
> Kde-imaging at kde.org
> https://mail.kde.org/mailman/listinfo/kde-imaging
--
Hakuna matata
http://www.gerhard.fr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-imaging/attachments/20070426/62c52360/attachment.pgp
More information about the Kde-imaging
mailing list