[GRASSLIST:4079] Re: PNG-Driver with truecolor-support ?!

Glynn Clements glynn.clements at virgin.net
Mon Jul 15 15:25:23 EDT 2002


Stephan Holl wrote:

> I am trying to build the PNG-Driver from the current cvs-version, but
> cannot make him working in true-color-mode.
> It looks, as it is built against gd2, but it still produces 8 bit
> png-files ;-((

Note that you also need to set the environment variable
GRASS_TRUECOLOR to TRUE, e.g.

Bourne shell:
	GRASS_TRUECOLOR=TRUE
	export GRASS_TRUECOLOR

C shell:
	setenv GRASS_TRUECOLOR TRUE

prior to starting the driver.

The default behaviour is to produce 8-bit images, for compatibility
with older versions of the PNG driver.

-- 
Glynn Clements <glynn.clements at virgin.net>



More information about the grass-user mailing list