Page 1 of 1

Batch convert -- Canvas resize gives unexpected result

Posted: Mon Jan 06, 2014 9:29 am
by cday
A canvas resize using the Relative option increases the selected canvas dimension by twice the selected number of pixels:
Image.png
For example 127x128 --> 129x128

Is there a way to increase the canvas width by only one pixel?

Thanks.

Re: Batch convert -- Canvas resize gives unexpected result

Posted: Mon Jan 06, 2014 11:54 am
by xnview
yes relative add to the left AND to the right

Re: Batch convert -- Canvas resize gives unexpected result

Posted: Mon Jan 06, 2014 1:11 pm
by cday
xnview wrote:yes relative add to the left AND to the right
Yes... But when using the Relative option to increase for example the width of an image from 300px to 400px, isn't it more intuitive to enter a change of 100 rather than 50 pixels?

If the Relative option interface were changed, as I imagine it easily could be, it would introduce the question of how to handle a change of an odd number of pixels -- but wouldn't that only be an issue when Position -- Center is selected, and then an arbitrary assignment could be made as it usually wouldn't be critical?

A requirement to enter an odd number of pixels might be unusual, but it could have provided a solution to the rescaling precision issue in this recent post:

http://newsgroup.xnview.com/viewtopic.php?f=79&t=29167

Re: Batch convert -- Canvas resize gives unexpected result

Posted: Tue Jan 07, 2014 6:26 am
by xnview
cday wrote:Yes... But when using the Relative option to increase for example the width of an image from 300px to 400px, isn't it more intuitive to enter a change of 100 rather than 50 pixels?
yes perhaps better

Re: Batch convert -- Canvas resize gives unexpected result

Posted: Wed Mar 05, 2014 3:12 pm
by xnview
Bug confirmed and will be fixed. See issue Issue 191 for current status and details.