Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > 413e0bdb3c48563b2d8d9038d07d5533 > files > 2068

grass-6.3.0-15.fc13.i686.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>GRASS GIS: r.out.ppm3</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="grassdocs.css" type="text/css">
</head>
<body bgcolor="white">

<img src="grass_logo.png" alt="GRASS logo"><hr align=center size=6 noshade>

<h2>NAME</h2>
<em><b>r.out.ppm3</b></em>  - Converts 3 GRASS raster layers (R,G,B) to a PPM image file at the pixel resolution of the CURRENTLY DEFINED REGION.
<h2>KEYWORDS</h2>
raster
<h2>SYNOPSIS</h2>
<b>r.out.ppm3</b><br>
<b>r.out.ppm3 help</b><br>
<b>r.out.ppm3</b> [-<b>qc</b>] <b>red</b>=<em>string</em> <b>green</b>=<em>string</em> <b>blue</b>=<em>string</em> <b>output</b>=<em>string</em>  [--<b>verbose</b>]  [--<b>quiet</b>] 

<h3>Flags:</h3>
<DL>
<DT><b>-q</b></DT>
<DD>Run quietly</DD>

<DT><b>-c</b></DT>
<DD>Add comments to describe the region</DD>

<DT><b>--verbose</b></DT>
<DD>Verbose module output</DD>
<DT><b>--quiet</b></DT>
<DD>Quiet module output</DD>
</DL>

<h3>Parameters:</h3>
<DL>
<DT><b>red</b>=<em>string</em></DT>
<DD>Name of raster map to be used for &lt;red&gt;</DD>

<DT><b>green</b>=<em>string</em></DT>
<DD>Name of raster map to be used for &lt;green&gt;</DD>

<DT><b>blue</b>=<em>string</em></DT>
<DD>Name of raster map to be used for &lt;blue&gt;</DD>

<DT><b>output</b>=<em>string</em></DT>
<DD>Name for new PPM file. (use out=- for stdout)</DD>

</DL>
<H2>DESCRIPTION</H2>

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

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

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

<div class="code"><pre>
g.region rast=[mapname]
</PRE></div>

<P>before running <em>r.out.ppm3</em>.</P>

<H2>NOTES</H2>

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.


<H2>SEE ALSO</H2>

<EM><A HREF="r.out.ppm.html">r.out.ppm</A>,</EM>
<EM><A HREF="r.in.gdal.html">r.in.gdal</A>,</EM>
<EM><A HREF="d.rgb.html">d.rgb</A></EM>

<H2>AUTHOR</H2>

Glynn Clements <glynn.clements@virgin.net><br>
Based upon <EM>r.out.ppm</EM> and <EM>d.rgb</EM>.

<p><i>Last changed: $Date: 2006-12-13 15:21:43 +0100 (Wed, 13 Dec 2006) $</i>
<HR>
<P><a href="index.html">Main index</a> - <a href="raster.html">raster index</a> - <a href="full_index.html">Full index</a></P>
<P>&copy; 2003-2008 <a href="http://grass.osgeo.org">GRASS Development Team</a></p>
</body>
</html>