[gdal-dev] RGB2PCT without dithering

Erik Heinz eh0907-osgeo at 42net.de
Tue Apr 18 02:46:39 PDT 2017


Hello everyone,

I would like to know if it's possible within GDAL to convert an RGB raster 
image with a small number of colors exactly to an indexed colortable image. 
This would imply to avoid dithering. 

The only function I found is GDALDitherRGB2PCT() which always does dithering.

Thank you, and best regards,
Erik

   


More information about the gdal-dev mailing list