[GRASS-user] Problems while running d.out.file

Hamish hamish_b at yahoo.com
Mon Nov 28 16:05:22 EST 2011


António wrote:
> Is there any other suggestion on resizing PNG output
> without loosing image and barscale?

fundamentally if you want to have full cartographic
control or want to make a high-res image suitable
for e.g. a poster or a journal article, you're
going to have to use ps.map. (now made easy with
Anna's new cartographic composer)

you can convert .eps or .ps to PNG if you need to
with a number of tools, here is one way:

pstoimg -aaliastext -antialias -depth 24 -scale 1.5 $IMAGE.ps


d.barscale's height is hardcoded at a fixed number
of pixels high in display/d.barscale/draw_scale.c
as it was only designed to be shown on a computer
monitor or projector at 100% scale.

maybe 'd.barscale -l' does not look so bad when
made (relatively) small?


Hamish


More information about the grass-user mailing list