logo       

[GRASSLIST:3849] Re: v.to.rast: msg#00055

gis.grass.user

Subject: [GRASSLIST:3849] Re: v.to.rast


Hamish wrote:

> If you must use a PostScript plot in a presentation, the best conversion
> I've found is to load it in the GIMP at ~ 144 dpi with strong anti-
> aliasing on both the graphics and the text. Otherwise it comes out
> grainy.

Actually, it's better to use oversampling, i.e. rasterise the
PostScript at 300dpi or higher, then scale down to the desired size
using a program which provides an anti-aliased rescaling function.
E.g.:

gs -dQUIET -dBATCH -dNOPAUSE -sDEVICE=ppmraw -r300 -sOutputFile=- map.ps \
| pnmscale 0.25 > map.ppm

Ghostscript's anti-aliasing options (-sDEVICE=x11alpha or
-dGraphicsAlphaBits= and -dTextAlphaBits=) are a fudge, and can result
in artifacts.

--
Glynn Clements <glynn.clements@xxxxxxxxxx>




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise