Version: digikam-1.0.0. beta4 kipi-plugins-0.6.0 (using KDE 4.2.4) OS: Linux Installed from: Compiled From Sources In digiKam 1.0.0 beta4 with kipi-plugins 0.6.0 the image resizing (in Tools / Resize) with type "Proportional (2 dim)" does not keep the x:y ratio - images are distorted to fit the destination size in pixels.
I can reproduce. Thanks for reporting this.
I could patch this, but what exactly is the desired behaviour for the border setting?
With a first guess how border should be interpreted... Here is a patch.
Created attachment 37130 [details] Patch for 2 dim proportional resize
I would use qMin and qMax for portability...
Created attachment 37131 [details] Patch for 2 dim proportional resize Now with qMin and qMax
SVN commit 1027561 by cgilles: fix proportionnal resizing rule.with 2 dims BUGS: 206357 BUGS: 135411 M +108 -59 resizeimagesdialog.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1027561