DESCRIPTION

d.png.legend

- Generate legend in PNG.

- Used in kml screen overlay.

Flags:

-v : Do not show category labels

-c : Do not show category numbers

-n : Skip category with no labels

-s : Draw smooth gradient

-f : Flip legend

-z : Export Image

Parameters

:

input : Input raster data

color : Legend text color

output_directory : Directory where save output

TRUECOLOR : Sets true-color support

TRANSPARENT : Sets transparent background ON or OFF

PNG_READ : If TRUE, the PNG driver will initialize the image from the contents of GRASS_PNGFILE.

BACKGROUNDCOLOR : Specifies the background color to use in RGB notation (hex values)

PNG_COMPRESSION : Compression level of PNG files

width : Image width

height : Image height

at : Placement as percentage of screen coordinates

EXAMPLE

title :
d.png.legend

REFERENCES

PlanetSasha Google Summer of Code - OSGeo - Massimo Di Stefano.

SEE ALSO

v.planet.py r.planet.py

AUTHOR

Massimo Di Stefano - @-mail

Last changed: $Date$