[GRASS-user] Display output question
    Glynn Clements 
    glynn at gclements.plus.com
       
    Fri Feb 20 22:50:03 EST 2009
    
    
  
Richard Chirgwin wrote:
> >> not JPEG, but I would use d.out.png or 
> >>
> >> d.mon start=PNG
> >> d.*
> >> d.mon stop=PNG
> >>     
> >
> > You will get better forward compatibility using the mechanism which
> > Moritz suggested (GRASS_RENDER_IMMEDIATE et al). Immediate rendering
> > works in both 6.x and 7.0, while d.mon only works in 6.x.
> >   
> Thanks all,
> 
> There's a follow-up question regarding d.mon-based approaches, in that
> it doesn't seem to support transparency, which is supported in the map
> display - is this correct?
Correct; translucency is implemented by g.pnmcomp, used by the GUI.
Note that translucency won't work with the GRASS_PNG_READ=TRUE
approach either. You have to set GRASS_PNGFILE to a different file for
each d.* command, then use g.pnmcomp's opacity= option.
-- 
Glynn Clements <glynn at gclements.plus.com>
    
    
More information about the grass-user
mailing list