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.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel