[GRASS-user] How to generate a "bigger PNG file"
Glynn Clements
glynn at gclements.plus.com
Fri Nov 4 04:41:43 EDT 2011
Marcello Gorini wrote:
> >>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=
Those will affect the size of images generated by d.* commands using
the PNG driver. They won't have any effect upon the images generated
by d.out.png.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-user
mailing list