canvas resize as a percentage of opposite side

Ideas for improvements and requests for new features in XnView Classic

Moderators: helmut, XnTriq, xnview

Post Reply
blah789
Posts: 12
Joined: Wed Oct 03, 2012 3:31 am

canvas resize as a percentage of opposite side

Post 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...)
Attachments
allow canvas resizing as a percentage of opposite side
allow canvas resizing as a percentage of opposite side
menu.png (20.77 KiB) Viewed 2476 times
cday
XnThusiast
Posts: 4396
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: canvas resize as a percentage of opposite side

Post 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).
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: canvas resize as a percentage of opposite side

Post by xnview »

Do you have tried XnConvert?
Pierre.
blah789
Posts: 12
Joined: Wed Oct 03, 2012 3:31 am

Re: canvas resize as a percentage of opposite side

Post 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)
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: canvas resize as a percentage of opposite side

Post 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.
blah789
Posts: 12
Joined: Wed Oct 03, 2012 3:31 am

Re: canvas resize as a percentage of opposite side

Post 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
Attachments
same.png
same.png (165.42 KiB) Viewed 2427 times
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: canvas resize as a percentage of opposite side

Post by xnview »

Oh ok, now i understand. So currently not possible
Pierre.
blah789
Posts: 12
Joined: Wed Oct 03, 2012 3:31 am

Re: canvas resize as a percentage of opposite side

Post 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.)
Post Reply