[gdal-dev] create classified PNG from ASCIIGrid

Chaitanya kumar CH chaitanya.ch at gmail.com
Wed Jul 27 01:01:48 EDT 2011


Sorry, here are the links.

[1]: http://www.gdal.org/rgb2pct.html

[2]: http://www.gdal.org/gdal_vrttut.html
[3]: http://www.gdal.org/formats_list.html

On Wed, Jul 27, 2011 at 10:30 AM, Chaitanya kumar CH <chaitanya.ch at gmail.com
> wrote:

> Stephen,
>
> The docs for rgb2pct.py script [1] has an example that shows how to convert
> to a paletted image using hand made VRT file.
> You can use the "-of PNG" option to set the destination format as png and
> the -pct option with your VRT file.
>
>
> On Wed, Jul 27, 2011 at 2:42 AM, Stephen Crawford <src176 at psu.edu> wrote:
>
>> Hi All,
>>
>> 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?
>>
>> Thanks,
>> Steve
>>
>>
>> ______________________________**_________________
>> gdal-dev mailing list
>> gdal-dev at lists.osgeo.org
>> http://lists.osgeo.org/**mailman/listinfo/gdal-dev<http://lists.osgeo.org/mailman/listinfo/gdal-dev>
>>
>
>
>
> --
> Best regards,
> Chaitanya kumar CH.
>
> +91-9494447584
> 17.2416N 80.1426E
>



-- 
Best regards,
Chaitanya kumar CH.

+91-9494447584
17.2416N 80.1426E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110727/ef624c6a/attachment-0001.html


More information about the gdal-dev mailing list