Hi,

I have a grayscale tiff file and would like to remap a grayscale value of 249 to white (255).

I used the following command:

nearblack -white -color 249 -near 0 -of GTIFF -o temp_white.tif temp.tif

and also tried

nearblack -white -color 249 -near 1 -of GTIFF -o temp_white.tif temp.tif

But nothing changed. 249 stays as 249. Is there another way to remap my specific grayscale value 249 to white with gdal?

Thank you for any hints,
Andreas
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to