[Digikam-devel] extragear/graphics/digikam/kioslave
Gilles Caulier
caulier.gilles at free.fr
Tue Apr 4 09:23:30 BST 2006
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: digikam-devel at kde.org
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())
{
More information about the Digikam-devel
mailing list