[Digikam-devel] extragear/graphics/digikam/kioslave

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] extragear/graphics/digikam/kioslave

Gilles Caulier
SVN commit 526246 by cgilles:

digikam from trunk : process exif auto-rotation before to save thumbnail file in ~/.thumbnails. This way is homogenous with konqueror.

NOTE: 'stable' svn branch not yet fixed (0.8.2). I'm waiting some feedback before to do...

CCMAIL: [hidden email]
CCBUGS: 123742

 M  +3 -2      digikamthumbnail.cpp  


--- trunk/extragear/graphics/digikam/kioslave/digikamthumbnail.cpp #526245:526246
@@ -366,6 +366,9 @@
 
         if (img.depth() != 32)
             img = img.convertDepth(32);
+            
+        if (exif)
+            exifRotate(url.path(), img);
 
         img.setText(QString("Thumb::URI").latin1(),
                      0, uri);
@@ -384,8 +387,6 @@
     }
 
     img = img.smoothScale(size, size, QImage::ScaleMin);
-    if (exif)
-        exifRotate(url.path(), img);
 
     if (img.isNull())
     {
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel