How do i convert color tiff to bw in batch using threshold

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

Moderators: helmut, XnTriq, xnview

Post Reply
jan.smidstrup

How do i convert color tiff to bw in batch using threshold

Post by jan.smidstrup »

Id like to in command line mode, convert color tiff to bw tiff , i imagine first color to greytone and the define a threshold value for which gretone should be black.

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

Re: How do i convert color tiff to bw in batch using thresho

Post by xnview »

With nconvert, you have only -binary nodither (0-127/128-255)
Pierre.
User avatar
DOS386
Posts: 291
Joined: Sun Jun 11, 2006 2:43 pm

Re: How do i convert color tiff to bw in batch using thresho

Post by DOS386 »

jan.smidstrup wrote:in command line mode, convert color tiff to bw tiff , i imagine first color to greytone and the define a threshold value for which gretone should be black.
With nconvert, you have only -binary nodither (0-127/128-255)
Any suggestions ?
You can adjust the brightness/contrast/gamma and then apply the dumb binarification. This does the job, just it's a bad hack. :|

So YES, adding a binarification mode with threshold is a very good idea :idea:
There is indeed no WinZIP under my rock.
Post Reply