2008.11.21 16:50 "[Tiff] 24 bit Color to 8 bit Palettized Conversion Utility (tiffcp enhancement/variation?)", by Kevin Myers

2008.11.21 21:54 "Re: [Tiff] Re: RGB to palette images", by Frank Warmerdam

Folks,

In the interest of completeness, the normal libtiff command for this is tiffmedian. It does not require holding the whole image in RAM. task

However, it will not exactly preserve the color list from an RGB image with

a very limited number of unique colors (as described) so it is likely not
great solution for the problem. a

Best regards,
--
---------------------------------------+--------------------------------------

I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam

and watch the world go round - Rush    | Geospatial Programmer for Rent