[GRASSLIST:3788] PNG driver

Hello,
I'm working with PNG driver. The PNG driver generates PNG images from GRASS
display commands.
I have two problems
- vectors and the parts of rasters with black color are not drew on the PNG
file
- i can not set the width of the vectors.

Someone can help me

Thank you

Leonardo Lami

- vectors and the parts of rasters with black color are not drew on the PNG
file

Likely to be a transparency problem: have you checked the values of
GRASS_BACKGROUNDCOLOR and GRASS_TRANSPARENT ?

- i can not set the width of the vectors.

I don't think you can change the width of vectors with d.vect in GRASS53. Try
GRASS57, or use ps.map to get an EPS you can convert to PNG with gimp or
Imagemagick

Alle 15:37, mercoledì 30 giugno 2004, SWlab ha scritto:

> - vectors and the parts of rasters with black color are not drew on the
> PNG file

Likely to be a transparency problem: have you checked the values of
GRASS_BACKGROUNDCOLOR and GRASS_TRANSPARENT ?

I set GRASS_TRANSPARENT on or off but the result is the same: vectors and the
parts of rasters with black color are not drew on the PNG file.

I set the background color with GRASS_BACKGROUNDCOLOR but the background of
the PNG file results ever white, while the vectors and the parts of rasters
with black color are not drew.

Can you say to me how you setted GRASS_BACKGROUNDCOLOR and GRASS_TRANSPARENT
and if you reach to draw black without problems.

thank you

> - i can not set the width of the vectors.

I don't think you can change the width of vectors with d.vect in GRASS53.
Try GRASS57, or use ps.map to get an EPS you can convert to PNG with gimp

thank you

bye
Leonardo Lami

- i can not set the width of the vectors.

This only really works with ps.map, but you can still do something:

GRASS 5.0/5.3:

v.to.rast
r.buffer

GRASS 5.7:

v.buffer

Hamish

→
GRASS GIS for OS X has now 3 products:

  • GRASS_GIS_COMPLETE.dmg(158.6 MB)
  • grass53cvs.tar.gz(53.6 MB)
  • grass57cvs.tar.gz(7.5 MB)

GRASS GIS COMPLETE includes all with only stable/tecnology preview version of grass: now is grass 5.3.0 and grass 5.7.0

There is another fast mirror for GRASS for OS X. Wow!
Go to
http://wwwamb.bologna.enea.it/forgrass/

Thanks to Michael Barton

School of Human Origins, Cultures, & Societies
Arizona State University
Tempe, AZ 85287-2402
USA

Cheers


|| Lorenzo Moretti e-mail: lorenzo.moretti@bologna.enea.it
||/|/| ENEA prot/idr Web: http://wwwamb.bologna.enea.it/
|| | via Don Fiammelli, 2 FTP: ftp://ftpamb.bologna.enea.it/ (res.)

Download GRASS for MAC OS X:
http://wwwamb.bologna.enea.it/forgrass/
________________________________________________________________________