[GRASS-user] FCELL, Float32 and colors

Glynn Clements glynn at gclements.plus.com
Sat Jan 5 19:11:57 EST 2008


Moritz Lennert wrote:

> > This is a limitation of the data format rather than the software. I'm
> > not aware of any "image" format which supports GRASS-style colour
> > tables (IIRC, GDAL can embed the GRASS colour table in a private
> > chunk, but I'm not aware of any software which can make use of that
> > data).
> > 
> > One possibility is to export the data as two separate files, one
> > containing the floating-point data and the other a normal RGB image.
> 
> Is there any de-facto standard for a color table that we could export a 
> grass color table to ?

Colour-mapped image formats invariably store the colour table as an
array. That rules out floating point, and it essentially rules out
32-bit integers (most formats are limited to 8 bpp).

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-user mailing list