Hello, I'm trying to convert RGB image to PALETTE image with PIL:
/img = Image.open(tiffile) img = img1convert("P", palette=Image.ADAPTIVE, colors=256) img.save(newtiffile+"_index.tif") img.close()/ ...but, for example, the white color is 245, not 255 :( And from CMYK to PALETTE? Is it possible? gdal option, please... Thanks -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev