Page 1 of 1

canvas resize as a percentage of opposite side

Posted: Mon Oct 22, 2012 9:10 pm
by blah789
a picture is worth 1000 words (your mileage may vary)

the extra buttons would solve a lot of my woes from
http://forum.xnview.com/viewtopic.php?f=35&t=26889

P.S: you can use different terms as you feel appropriate (previous height, old height, former height...)

Re: canvas resize as a percentage of opposite side

Posted: Mon Oct 22, 2012 10:06 pm
by cday
'Resize' has both percent and pixel options but 'Canvas resize' and 'Crop' only have pixel options...

I would support percent options for the other functions in XnView (and NConvert).

Re: canvas resize as a percentage of opposite side

Posted: Tue Oct 23, 2012 6:34 am
by xnview
Do you have tried XnConvert?

Re: canvas resize as a percentage of opposite side

Posted: Tue Oct 23, 2012 3:08 pm
by blah789
xnview wrote:Do you have tried XnConvert?
I have.
The option for canvas resizing (according to the documentation) goes like this

-canvas w h pos : Resize canvas
w h can be percent (ex: -resize 100% 200%)
or #x #y for offset
pos top-left, top-center, top-right, center-left, center, center-right, bottom-left, bottom-center, bottom-right

is it possible to type in w as 100% x (old w) and h as 150% x (old w)
it will only do h = 150% x (old h)

maybe ho for new height as percent of old width and
wo for new width as percent of old height
(o stands for opposite)

Re: canvas resize as a percentage of opposite side

Posted: Tue Oct 23, 2012 5:30 pm
by XnTriq
blah789 wrote:
xnview wrote:Do you have tried XnConvert?
I have.
The option for canvas resizing (according to the documentation) goes like this
You're referring to the commnad-line tool NConvert.
Pierre wants you to take a look at the canvas resize functions of the multi-platform GUI edition called XnConvert.

Re: canvas resize as a percentage of opposite side

Posted: Wed Oct 24, 2012 3:19 pm
by blah789
XnTriq wrote:
blah789 wrote:
xnview wrote:Do you have tried XnConvert?
I have.
The option for canvas resizing (according to the documentation) goes like this
You're referring to the commnad-line tool NConvert.
Pierre wants you to take a look at the canvas resize functions of the multi-platform GUI edition called XnConvert.
it doesn't have the option of resizing it as a factor of the opposite side. if you use the same side, you get results all over the place.

see http://forum.xnview.com/viewtopic.php?f=35&t=26889

Re: canvas resize as a percentage of opposite side

Posted: Thu Oct 25, 2012 7:46 am
by xnview
Oh ok, now i understand. So currently not possible

Re: canvas resize as a percentage of opposite side

Posted: Sat Oct 27, 2012 3:31 am
by blah789
is there any chance of it being implemented in a future release?

I'll even take a private build if you deem the feature too unnecessary for general use by the public.

the feature i'm requesting is in the top pic (the two extra buttons that let you pick whether the percentage you want is from the old width or the old height - by default it's the same side. i just want the option to use a percentage of the opposite side.)