[GRASS-user] How to save raster histogram in png format from command line ?

Glynn Clements glynn at gclements.plus.com
Mon Nov 26 05:12:02 PST 2012


Andranik Hayrapetyan wrote:

> Is there any mogul of GRASS which will save histogram of a raster GeoTiff
> image in a png or jpeg file ?
> As I understand, d.histogram is only displaying it, and you cannot use it
> in text mode.

Most d.* commands can be made to generate an image by setting the
environment variable GRASS_RENDER_IMMEDIATE=TRUE. See the pngdriver
manual page for related environment variables.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-user mailing list