[Qgis-user] GDAL translate 16 bit to 8 bit

Hanlie Pretorius hanlie.pretorius at gmail.com
Mon Aug 18 00:23:19 PDT 2014


Hi,

I'm working with a 16 bit SPOT 6 image that I want to convert from 16
bit pixel depth to 8 but pixel depth.

I've manage to do so on the multispectral image, but the result is poor.

So I split the image into its four bands that is, I now have one image per band.

When I now try to convert to 8 bit, I get a message that says:
"Warning 742327101_R1C1_band1_8bit.TIF not created".

The command I'm using is:
gdal_translate -ot Byte -of GTiff "D:/SPOT
6/EightBit/IMG_SPOT6_MS_201304290812030_ORT_742327101_R1C1_band1.TIF"
742327101_R1C1_band1_8bit.TIF

Does anybody know why this is happening or can anyone perhaps refer me
to a forum/email list where I can be helped? I could only find a GDAL
dev email ist.

Thanks
Hanlie



More information about the Qgis-user mailing list