Lookup table for input/output value changes?

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

Moderators: helmut, XnTriq, xnview

Post Reply
rkwright
Posts: 6
Joined: Mon Mar 16, 2009 2:51 pm

Lookup table for input/output value changes?

Post by rkwright »

I'm looking for a way to change a floating point TIFF to an indexed PNG. I need this done in a batch way, so that all input TIFFs are indexed with the same output values. The input images are all single-band.

Is there a way to use a lookup table in nconvert that provides min/max input values, along with the output number?

Example:

input range:output value
0.0-1.534:0
1.535-24.3922:1
25.3923-100.328:2
etc....

so if a pixel has a source value of 10.23 the output value would be 1

Thanks in advance!
User avatar
xnview
Author of XnView
Posts: 46253
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Lookup table for input/output value changes?

Post by xnview »

rkwright wrote: Is there a way to use a lookup table in nconvert that provides min/max input values, along with the output number?
!
Currently no way, but will be great!
Pierre.
Post Reply