[Digikam-devel] [Bug 149485] Advanced image resize for the digikam editor
Julien Narboux
Julien at narboux.fr
Mon Apr 13 13:16:34 BST 2009
https://bugs.kde.org/show_bug.cgi?id=149485
--- Comment #82 from Julien Narboux <Julien narboux fr> 2009-04-13 14:16:18 ---
Julien,
I think I found the bug, it works when you change width but no height for me, I
think the size of the preview is not the size of the image but the image of the
image and black area, if you replace :
int diff_w = stdRescaleP * (imTemp.width() - new_w);
int diff_h = stdRescaleP * (imTemp.height() - new_h);
with
int diff_w = stdRescaleP * (w - new_w);
int diff_h = stdRescaleP * (h - new_h);
it seems to solve the bug.
Julien
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Digikam-devel
mailing list