Version: 1.5 rc1 (using KDE 3.5.2, compiled sources) Compiler: Target: x86_64-linux-gnu OS: Linux (x86_64) release 2.6.13.2 If I take a picture and use an application to rotate that picture (from my camera) by altering nothing but the exif data applications like kuickshow show it correctly, but krita loads it incorrectly. I'll attach an image to show the problem.
Created attachment 15431 [details] The image that does not load properly; canvas and pixels are rotated from each other.
Created attachment 15432 [details] non-rotated image; for comparison. To make clear what I meant with exif-rotated do a 'xdelta' diff on this file and the rotated.jpg to find out there is only a 200bytes diff. I.e. the pixels are not touched.
I though Cyrille had fixed this in svn? SVN commit 523052 by berger: fix interpretation of exif orientation M +2 -2 kis_jpeg_converter.cc --- branches/koffice/1.5/koffice/filters/krita/jpeg/kis_jpeg_converter.cc #523051:523052 @@ -247,6 +247,8 @@ } } + m_img->addLayer(layer.data(), m_img->rootLayer(), 0); + // Read exif informations kdDebug(41008) << "Looking for exif information" << endl; @@ -305,8 +307,6 @@ break; } - m_img->addLayer(layer.data(), m_img->rootLayer(), 0); - // Finish decompression jpeg_finish_decompress(&cinfo); jpeg_destroy_decompress(&cinfo);
No, this isn't fixed in the current. 1.5 tree. Assigning to Cyrille.
Fixed by upgrading my libjpeg