[GRASS-dev] new r.out.gdal fails to preserve 8bit color

Frank Warmerdam warmerdam at pobox.com
Wed Jan 17 11:24:49 EST 2007


Moritz Lennert wrote:
> In the very first thread, Frank says:
> 
> "Generally speaking to produce a GeoTIFF file with a color table after 
> using Create() to create it, you need to do the SetColorTable() *before* 
> writing any raster data."
> 
> I don't see any call to SetColorTable in main.c of r.out.gdal. Could 
> this be the problem ?

Moritz,

Yes, I would imagine so!

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org




More information about the grass-dev mailing list