Automatic crop parameters

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

Moderators: XnTriq, xnview

Post Reply
tamle
Posts: 11
Joined: Mon Nov 13, 2017 10:55 am

Automatic crop parameters

Post by tamle » Tue Nov 06, 2018 3:14 am

Is there automatic crop parameter in Nconvert like XnConvert? I am trying to find the option "Color of pixel at", "Tolerance". "Export for Nconvert" functionality doesn't show it in the batch file.

User avatar
xnview
Author of XnView
Posts: 30094
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Automatic crop parameters

Post by xnview » Fri Nov 09, 2018 12:07 pm

yes

Code: Select all

-autocrop tol r g b
Pierre.

tamle
Posts: 11
Joined: Mon Nov 13, 2017 10:55 am

Re: Automatic crop parameters

Post by tamle » Fri Nov 09, 2018 3:51 pm

xnview wrote:
Fri Nov 09, 2018 12:07 pm
yes

Code: Select all

-autocrop tol r g b
I can guess that tol is tolerance and r g b is the colors. Will it be used something like this? I have to ask because the help file does not have any detail on this.

Code: Select all

-autocrop tol 10 r 255 g 255 b 255
Also is there parameter for "color of pixel at"? This would be helpful because determining the color cannot be always exact.

User avatar
xnview
Author of XnView
Posts: 30094
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Automatic crop parameters

Post by xnview » Tue Nov 13, 2018 10:06 am

Code: Select all

-autocrop 10 255 255 255
Also is there parameter for "color of pixel at"? This would be helpful because determining the color cannot be always exact.
currently not yet
Pierre.

Post Reply