[Gdal-dev] Create GTiff with 8bit color table

Oliver Eichler oliver.eichler at gmx.de
Tue Sep 11 13:14:35 EDT 2007


On Tuesday, 11. September 2007 15:56, you wrote:
>
> The GeoTIFF driver does not support setting or resetting the color
> interpretation.  However, as long as you do it before you start writing
> raster data you can use the SetColorTable() method on the band of a
> single band file and it will be changed internally to paletted.
>

Hi Frank,

that did the trick. I wasn't deperate enought to set the table before setting 
up the color interpretation. :)

It works and it's pretty fast, too. Now I just have to find a Linux app to 
handle GeoTiffs of 3-4GB size. QGis isn't too happy about it. Let's see...

 Thanks for your help.

Oliver



More information about the Gdal-dev mailing list