Version: SVN Trunk (4/27/2008) (using KDE 4.0.3) Installed from: Gentoo Packages If you convert the attached .CR2 file (portrait format) to JPG using Batch -> Batch RAW Converter (Save settings -> Output file format: JPEG), some things go wrong: 1) The orientation of the resulting image is wrong (landscape instead of portrait) 2) Image -> Rotate -> Right has no effect However, if you execute Image -> Auto Rotate/Flig Using Exif Information and then Image -> Rotate -> Right the rotation is correct again.
Dominic, Please attach the CR2 file to this bugzilla entry to be able to test. Thanks in advance. Gilles Caulier
Also, which kipi-plugins version you use ? Last stable ? Gilles Caulier
Another question : which Exiv2 library you use ? Gilles Caulier
This is an example image: https://cit-server.cit.tu-berlin.de/~battre/IMG_0761.CR2 The bug is reproducible with Digikam trunk (0.9.4-beta4, 4/27/2008, revision 801723) with Kipi library 0.1.6 / KExiv2 0.1.7 / Exiv2 0.16 and Digikam 0.9.4-beta3 (Gentoo) with Kipi library 0.1.5 / KExiv2 0.1.6 / Exiv2 0.16.
Also i have found the same problem in today CVS version (2008-09-07). It is even not possible to fix the problem with auto rotate using exif data, becouse resulted photo is 180 degres rotated to right position. The preview image is rotated OK, even image opened using kshowphoto has right orientation.
Created attachment 27300 [details] screenshot of wrong rotated photo
Exif Orientation: 6 Exif Orientation: 6 Transforming with option 0 5 Exif orientation tag set to: 1 '/tmp/kde-dan' is TIFF based RAW file not yet supported. Metadata not saved. Exif Orientation: 6 Exif Orientation: 6 Transforming with option 2 5 Exif orientation tag set to: 1 '/tmp/kde-dan' is TIFF based RAW file not yet supported. Metadata not saved. Found dcraw version: 8.87 probably the interesting part of log. Also the conversion target is set to PNG not TIFF. There isn't the decoding command itself in log.
Dominic, This file still valid using digiKAm 0.9.4, kipi-plugins 0.1.6 and a recent version of Exiv2 library ? Gilles Caulier
The exact same problem persists with digiKam 0.9.4 Kipi 0.1.6 KExiv2 0.1.7 Exiv2 0.17.1
i just tried with the attached file and with kipi plugins from trunk and i can't reproduce the issue. Can you test with at least kipi plugins 0.4.0 please ?
Problem solved. Thanks a lot!