Page 1 of 1
[v1.60] “Keep ratio” broken
Posted: Sun Jan 12, 2014 2:30 pm
by XnTriq
The Keep ratio checkbox for the Resize action has no effect in v1.60 of XnConvert for Windows 32-bit (x86).
Re: [v1.60] “Keep ratio” broken
Posted: Mon Jan 20, 2014 11:30 am
by xnview
i can't reproduce, which values do you have?
Re: [v1.60] “Keep ratio” broken
Posted: Mon Jan 20, 2014 6:30 pm
by XnTriq
xnview wrote:i can't reproduce, which values do you have?
[
Animation ]
Expected behavior: If
Keep ratio is activated and the value for
Width is increased or decreased, the value for
Height should change accordingly in real-time and vice versa.
Re: [v1.60] “Keep ratio” broken
Posted: Mon Jan 20, 2014 8:37 pm
by cday
I think there is a problem but it's possibly slightly different from the issue described above...
Edit: I found the animation a little confusing but reading the text above I think we're saying about the same thing:
The XnConvert 'Resize' function with the 'Keep ratio' option selected should work the same as the 'Resize' function in Xnview 2.13 -- if 'Keep ratio' is checked, changing the Width should result in the Height changing to match:
Before:

- XnView_Image_1.png (15 KiB) Viewed 2310 times
After:

- XnView_Image_2.png (14.88 KiB) Viewed 2310 times
In XnConvert with 'Keep ratio' checked, changing the Width results in the image being resized correctly with the ratio maintained, but the Height value displayed is not changed to match the Width change as it is in XnView:
Before:
After:
The fact that the Height value displayed doesn't track the Width change displayed seems to be the only problem.
Images are for XnConvert 1.55 due to the Resize bug previously identified in 1.60.
Re: [v1.60] “Keep ratio” broken
Posted: Tue Jan 21, 2014 10:02 am
by xnview
yes it's normal, 'keep ratio' is applied only when processing, depending on the image size...
Re: [v1.60] “Keep ratio” broken
Posted: Tue Jan 21, 2014 10:07 am
by cday
xnview wrote:yes it's normal, 'keep ratio' is applied only when processing, depending on the image size...
[Deleted]
The Enlarge/Reduce -- 'Always' / 'Reduce only' / 'Enlarge only' option determines how a particular image is processed, but when 'Keep ratio' is selected the displayed Width and Height values should always follow each other, as in Image > Resize... ?
The Preview displays changes as expected.
Re: [v1.60] “Keep ratio” broken
Posted: Tue Jan 21, 2014 10:15 pm
by XnTriq
xnview wrote:yes it's normal, 'keep ratio' is applied only when processing, depending on the image size...
I agree that the values of
Width &
Height shouldn't be linked for
pixels, but I was referring to resize by
percent (see
screenshot).
Re: [v1.60] “Keep ratio” broken
Posted: Wed Jan 22, 2014 1:31 pm
by xnview
cday wrote:
The Enlarge/Reduce -- 'Always' / 'Reduce only' / 'Enlarge only' option determines how a particular image is processed, but when 'Keep ratio' is selected the displayed Width and Height values should always follow each other, as in Image > Resize... ?
The Preview displays changes as expected.
I'm not sure, you can have many different resolution in the input file list.