[GRASSLIST:3849] Re: v.to.rast
Glynn Clements
glynn.clements at virgin.net
Fri Jul 9 00:25:48 EDT 2004
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 at virgin.net>
More information about the grass-user
mailing list