[GRASS5] Re: [GRASSLIST:1560] Re: back ground

Glynn Clements glynn.clements at virgin.net
Thu Oct 30 12:05:53 EST 2003


Markus Neteler wrote:

> Next thing to tackle is the black background in the PNG driver.
> Again I am not sure how to do that. It seems to be a change needed
> in
> PNG/Graph_Set.c

Look at the handling of GRASS_BACKGROUNDCOLOR.

Note that you won't find any code which explicitly sets a black
background; if neither GRASS_BACKGROUNDCOLOR nor GRASS_TRANSPARENT are
set, the image starts out however GD initialises it (which happens to
be black).

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




More information about the grass-dev mailing list