Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > 7fd7c575020aa78a8e2e309ea8909f43 > files > 1115

gdal-1.6.2-6.fc13.i686.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>GDAL: pct2rgb.py</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.2-20100208 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">


<h1><a class="anchor" id="pct2rgb">pct2rgb.py </a></h1><p>Convert an 8bit paletted image to 24bit RGB</p>
<h2><a class="anchor" id="psynopsis">
SYNOPSIS</a></h2>
 
Usage: 
<div class="fragment"><pre class="fragment">
pct2rgb.py [-of format] [-b band] source_file dest_file
</pre></div><h2><a class="anchor" id="pdescription">
DESCRIPTION</a></h2>
<p>This utility will convert a pseudocolor band on the input file into an output RGB file of the desired format.</p>
<dl>
<dt><b>-of</b> <em>format</em>:</dt>
<dd>Format to generated (defaults to GeoTIFF). </dd>
<dt><b>-b</b> <em>band</em>:</dt>
<dd>Band to convert to RGB, defaults to 1. </dd>
<dt><em>source_file</em>:</dt>
<dd>The input file.  </dd>
<dt><em>dest_file</em>:</dt>
<dd>The output RGB file that will be created. </dd>
</dl>
<p>NOTE: pct2rgb.py is a Python script, and will only work if GDAL was built with Python support.</p>
<p>The new '-expand rgb|rgba' option of gdal_translate obsoletes that utility. </p>
</div>
<hr>

Generated for GDAL by 
<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.6.2-20100208.
</body>
</html>