Automatic crop parameters

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

Moderators: XnTriq, helmut, xnview

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

Automatic crop parameters

Post by tamle »

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: 44748
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Automatic crop parameters

Post by xnview »

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 »

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: 44748
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Automatic crop parameters

Post by xnview »

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, but will be added
Pierre.