Request for a new parameter to the -canvas command.

Discussions on NConvert - the command line tool for image conversion and manipulation

Moderators: XnTriq, helmut, xnview

SAMSAM
Posts: 31
Joined: Sun Sep 15, 2019 5:14 pm

Request for a new parameter to the -canvas command.

Post by SAMSAM »

Good afternoon!
I want to make a request to add the parameters "on the long side" ("on the short side") to the -canvas command, as it is done in the -resize longest size (-resize shortest size) command. This parameter allows you to change the size (canvas) of multi-page tif files, regardless of the orientation of the pages inside it.
User avatar
xnview
Author of XnView
Posts: 44936
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Request for a new parameter to the -canvas command.

Post by xnview »

will be added
Pierre.
SAMSAM
Posts: 31
Joined: Sun Sep 15, 2019 5:14 pm

Re: Request for a new parameter to the -canvas command.

Post by SAMSAM »

I tried a new command with the parameter (-canvas longest 220mm center) The original size canvas of 142x214mm changed incorrectly to 12x10 mm. Tell me what I'm doing wrong.
Result file
0007_rez.png

Source file
0007.png
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 44936
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Request for a new parameter to the -canvas command.

Post by xnview »

ok right, will be fixed
Pierre.
SAMSAM
Posts: 31
Joined: Sun Sep 15, 2019 5:14 pm

Re: Request for a new parameter to the -canvas command.

Post by SAMSAM »

I tried in version 7.95 everything works as it should. Thank you, a very useful team for my work. :D