Sorry, here are the links.<br><br>[1]: <a href="http://www.gdal.org/rgb2pct.html">http://www.gdal.org/rgb2pct.html</a><br><br>[2]: <a href="http://www.gdal.org/gdal_vrttut.html">http://www.gdal.org/gdal_vrttut.html</a><br>
[3]: <a href="http://www.gdal.org/formats_list.html">http://www.gdal.org/formats_list.html</a><br><br><div class="gmail_quote">On Wed, Jul 27, 2011 at 10:30 AM, Chaitanya kumar CH <span dir="ltr">&lt;<a href="http://chaitanya.ch">chaitanya.ch</a>@<a href="http://gmail.com">gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Stephen,<br><br>The docs for rgb2pct.py script [1] has an example that shows how to convert to a paletted image using hand made VRT file.<br>
You can use the &quot;-of PNG&quot; option to set the destination format as png and the -pct option with your VRT file.<div><div></div><div class="h5"><br>
<br><div class="gmail_quote">On Wed, Jul 27, 2011 at 2:42 AM, Stephen Crawford <span dir="ltr">&lt;<a href="mailto:src176@psu.edu" target="_blank">src176@psu.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

Hi All,<br>
<br>
I have 60 or so asciiGrids of climate data that I would like to tun into PNGs, with the climate values classified by color.  I would like to script this process using Python.  Is there a way to do this with GDAL?  Or if not, is there any other open source way to do this?<br>


<br>
Thanks,<br>
Steve<br>
<br>
<br>
______________________________<u></u>_________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/gdal-dev</a><br>
</blockquote></div><br><br clear="all"><br></div></div><font color="#888888">-- <br>Best regards,<br>Chaitanya kumar CH.<br><br>+91-9494447584<br>17.2416N 80.1426E<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br><br>+91-9494447584<br>17.2416N 80.1426E<br>