A canvas resize using the Relative option increases the selected canvas dimension by twice the selected number of pixels:
For example 127x128 --> 129x128
Is there a way to increase the canvas width by only one pixel?
Thanks.
Batch convert -- Canvas resize gives unexpected result
Moderators: xnview, Dreamer
-
cday
- XnThusiast
- Posts: 4486
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Batch convert -- Canvas resize gives unexpected result
You do not have the required permissions to view the files attached to this post.
-
xnview
- Author of XnView
- Posts: 47269
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Batch convert -- Canvas resize gives unexpected result
yes relative add to the left AND to the right
Pierre.
-
cday
- XnThusiast
- Posts: 4486
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Re: Batch convert -- Canvas resize gives unexpected result
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?xnview wrote:yes relative add to the left AND to the right
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
-
xnview
- Author of XnView
- Posts: 47269
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Batch convert -- Canvas resize gives unexpected result
yes perhaps bettercday 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?
Pierre.
-
xnview
- Author of XnView
- Posts: 47269
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Batch convert -- Canvas resize gives unexpected result
Bug confirmed and will be fixed. See issue Issue 191 for current status and details.
Pierre.