r.out.ppm3.1grass man page

r.out.ppm3 — Converts 3 GRASS raster layers (R,G,B) to a PPM image file.


raster, export


r.out.ppm3 --help
r.out.ppm3 [-c] red=string green=string blue=string output=string  [--help]  [--verbose]  [--quiet]  [--ui]



Add comments to describe the region


Print usage summary


Verbose module output


Quiet module output


Force launching GUI dialog


red=string [required]

Name of raster map to be used for <red>

green=string [required]

Name of raster map to be used for <green>

blue=string [required]

Name of raster map to be used for <blue>

output=string [required]

Name for new PPM file. (use ’-’ for stdout)


r.out.ppm3 converts 3 GRASS raster layers (R,G,B) to a PPM image file, using the current region.

This program converts a GRASS raster map to a PPM image file using the the current region settings.

To get the full area and resolutin of the raster map, run:

g.region raster=[mapname]

before running r.out.ppm3.


One pixel is written for each cell value, so if ew_res and ns_res differ, the aspect ratio of the resulting image will be off.

See Also

r.out.ppm, r.in.gdal, d.rgb


Glynn Clements
Based upon r.out.ppm and d.rgb.

Last changed: $Date: 2014-12-19 22:17:36 +0100 (Fri, 19 Dec 2014) $

Source Code

Available at: r.out.ppm3 source code (history)

Main index | Raster index | Topics index | Keywords index | Graphical index | Full index

© 2003-2018 GRASS Development Team, GRASS GIS 7.4.0 Reference Manual


GRASS 7.4.0 Grass User's Manual