[Kde-imaging] [Bug 144604] Rotation causes Exif data corruption

Gerhard Kulzer gerhard at kulzer.net
Thu Apr 26 10:00:05 CEST 2007


Am Thursday 26 April 2007 schrieb Gilles Caulier:
> ------- 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 caulier.gilles gmail com  2007-04-26 08:23
> ------- Andreas,
>
> I have take a look into libkexiv2 and Exiv2 source code, and i think than
> the problem come from Exiv2. Let's me explain why :
>
> - in libkexiv2, nothing special is done. The rotation tool set the tags
> values as well without force to use a tag format. All is delegate to Exiv2.
>
> - in Exiv2::tags.cpp, the "Exif.Photo.PixelXDimension",
> "Exif.Photo.PixelYDimension", "Exif.Image.ImageWidth", and
> "Exif.Image.ImageLength" tags are define like "Unsigned Long" not "Long",
> and this is the problem. Like Isac said, the Exif spec.
> (http://www.exif.org/Exif2-2.PDF page 23, 26, 27) must be "Long", not
> "Unsigned Long".
>
> Fixing it into Exiv2 is a 5 minutes job (:=)))...
>
> Gilles

I wonder if there is a similar problem with the GPS tags. Since a few days I'm 
using the google.maps module in Gallery2.2 which reads the coordinates from 
digikam images. They are wrongly interpreted. If I use jpg from other sources 
than digikam, the coordinates are right. 

I haven't hda the time to dig into the problem, it could well be that the 
gallery modules is at fault. But if you have a look to the tags.cpp anyway, 
Andreas, please check the gps tag section as well.

Thanks 
Gerhard

-- 
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/c0b1281d/attachment.pgp 


More information about the Kde-imaging mailing list