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

Markus Neteler neteler at itc.it
Fri Oct 31 05:09:19 EST 2003


On Thu, Oct 30, 2003 at 05:05:53PM +0000, Glynn Clements wrote:
> 
> 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).

I have submitted a patch to 5.3-CVS.

Markus




More information about the grass-dev mailing list