[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/extragear/graphics/digikam/utilities/imageeditor/canvas
From: Marcel Wiesweg <marcel.wiesweg () gmx ! de>
Date: 2010-12-02 20:54:23
Message-ID: 20101202205423.40EDDAC8A4 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1202947 by mwiesweg:
Dont forget to adjust image size when image is exif-rotated
M +6 -4 dimginterface.cpp
--- branches/extragear/graphics/digikam/utilities/imageeditor/canvas/dimginterface.cpp #1202946:1202947
@@ -386,11 +386,7 @@
if (!d->image.isNull())
{
- d->origWidth = d->image.width();
- d->origHeight = d->image.height();
d->valid = true;
- d->width = d->origWidth;
- d->height = d->origHeight;
valRet = true;
d->imageHistoryWhenLoaded = d->image.getImageHistory();
d->resolvedInitialHistory = d->image.getImageHistory();
@@ -416,6 +412,12 @@
}
}
+ // set after rotation
+ d->origWidth = d->image.width();
+ d->origHeight = d->image.height();
+ d->width = d->origWidth;
+ d->height = d->origHeight;
+
updateColorManagement();
}
else
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic