Resize canvas by longest side with nconvert

XnConvert Multi Platform - Windows, MacOSX, Linux

Moderators: helmut, XnTriq, xnview

Post Reply
polsino
Posts: 2
Joined: Thu Dec 16, 2021 2:22 pm

Resize canvas by longest side with nconvert

Post by polsino »

Hi! I wonder if it's possible to resize canvas size in a square format by the longest side with nconvert command line.
I've seen the function in XnView MP, unfortunately when i export the line doesn't work (with teh .bat file)
Thanks in advance
Attachments
nconvert_canvasresize.PNG
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Resize canvas by longest side with nconvert

Post by xnview »

you have

Code: Select all

-canvas longest
Pierre.
polsino
Posts: 2
Joined: Thu Dec 16, 2021 2:22 pm

Re: Resize canvas by longest side with nconvert

Post by polsino »

Thanks. Can you tell me which argument I have to set after "longest" to make my canvas square?
I''ve only found an example with argument in mm, but it's not what I'm looking for

Code: Select all

- canvas longest 220mm
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Resize canvas by longest side with nconvert

Post by xnview »

you can use

Code: Select all

-canvas longest 200
Pierre.
Post Reply