[GRASS-user] How to generate a "bigger PNG file"

Marcello Gorini gorini at gmail.com
Thu Nov 3 08:50:43 EDT 2011


Luisa said:

>>I'm using r.out.png to generate PNG files from a small patch (like 6x15
>>pixels) but I'm obtaining a really small PNG file. Sicne I want to
>>display it a little bit bigger in a website I need to "create a bigger
>>(in size) PNG". What can I do to do this?

Ben said:

>You can simply increase the resolution of your
>current working region. Then you will get more
>cells (and a bigger image) but exactly the same
>information.


Or I guess you could export it with a larger number of pixels by setting
some environment variables.

export GRASS_WIDTH=
export GRASS_HEIGHT=

Cheers,
Marcello.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20111103/720720dc/attachment.html


More information about the grass-user mailing list