[gdal-dev] Problem with nearblack
Andreas Neumann
a.neumann at carto.net
Mon Nov 17 06:35:22 PST 2014
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
More information about the gdal-dev
mailing list