[Gdal-dev] Color table

Ivan Lucena ILucena at clarku.edu
Sat Oct 28 12:36:12 EDT 2006

If you are translating *to* geotiff with color table it will always have
256. I guess hat is how TIF was designed.

-----Original Message-----
From: gdal-dev-bounces at lists.maptools.org
[mailto:gdal-dev-bounces at lists.maptools.org] On Behalf Of Patti Giuseppe
Sent: Friday, October 27, 2006 6:00 AM
To: gdal-dev at lists.maptools.org
Subject: [Gdal-dev] Color table

I'm trying to understand hoe to keep the colortable during a 
gdal_translate operation.
I'm translating a geotiff with Colortabel=RGB with 2 entries and i get 
Colortable=RGB with 256 entries. The problem is that the file size 
increases a lot during conversion, because it adds so many entries not 
needed (because the source is a raster with white=0 and black=1)
Gdal-dev mailing list
Gdal-dev at lists.maptools.org

More information about the Gdal-dev mailing list