[Digikam-devel] Exif auto-rotation not working anymore

Gilles Caulier caulier.gilles at gmail.com
Tue May 11 08:05:22 BST 2010


2010/5/10 Marcel Wiesweg <marcel.wiesweg at gmx.de>:
>
>> > Hi,
>> >
>> > I just updated my digikam installation the first time since a few weeks
>> > and now the auto-rotation of images by exif tag seems is broken (jpg and
>> > orf). Can anyone confirm this?
>>
>> > I get a lot of these messages on the console now:
>> I have a good candidate why this is broken:
>>
>> KExiv2Iface::KExiv2Priv::printExiv2ExceptionError: Cannot parse Exif
>> Orientation tag using Exiv2   (Error # 6 :  Ungültiger Schlüssel
>> "Exif.Sony1Cs.Rotation"
>>
>> Exif.Sony2Cs.Rotation is a makernote tag checked as one of the first tags
>> in KExiv2::getImageOrientation(). Obviously exiv2 decides to throw an
>> exception from there, which means getImageOrientation will never succeed.
>
> Ok it seems the fault is on our side, this tag was recently added in exiv2.
> Perhaps ifdefs around this makernote check?

yes, Sony stuff have been added from me.

And of course, #ifdef must be added in libkexiv2 to check Exiv2 release.

Gilles



More information about the Digikam-devel mailing list