Re: [gdal-dev] Write 8-bit image...

2009-01-13 Thread Christopher Barker
Tripp Lowe wrote: I see in the docs that /"GDAL raster data types are Byte UInt16 Int16 UInt32 Int32 Float32 Float64 CInt16 CInt32 CFloat32 CFloat64"/. How do I specify an 8-bit data type? That would be "Byte" on any machine

[gdal-dev] Write 8-bit image...

2009-01-13 Thread Tripp Lowe
Hey Folks, I'm trying to write a perl script to write an 8-bit image. I've been able to modify the "Creating a raster dataset" example using Geo::GDAL ( http://map.hut.fi/doc/Geo-GDAL/html/create_raster.html ) to output float32 and U16 images, but I can't figure out how to output an 8-bit image.