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

Brent Fraser bfraser at geoanalytic.com
Tue Aug 19 06:11:55 PDT 2014


Hanlie,
   The GDAL-dev list is the best list for this question.  And it would 
help to post the results of the "gdalinfo" command on your input image.

Best Regards,
Brent Fraser

On 8/18/2014 1:23 AM, Hanlie Pretorius wrote:
> 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
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>





More information about the Qgis-user mailing list