Note to self: use the following command to scale 16 bit spatial raster data down to 8 bit.
gdal_translate -a_nodata 0 -of GTiff -ot Byte -scale 0 65535 0 255 input.tif 8bit_output.tif
jottings on things I have found out about
Note to self: use the following command to scale 16 bit spatial raster data down to 8 bit.
gdal_translate -a_nodata 0 -of GTiff -ot Byte -scale 0 65535 0 255 input.tif 8bit_output.tif
Leave a Reply