Page 1 of 1

Resize canvas by longest side with nconvert

Posted: Thu Dec 16, 2021 2:30 pm
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

Re: Resize canvas by longest side with nconvert

Posted: Sun Dec 19, 2021 8:33 am
by xnview
you have

Code: Select all

-canvas longest

Re: Resize canvas by longest side with nconvert

Posted: Mon Dec 20, 2021 7:15 am
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

Re: Resize canvas by longest side with nconvert

Posted: Mon Dec 20, 2021 3:08 pm
by xnview
you can use

Code: Select all

-canvas longest 200