[gdal-dev] Converting palette image to RBG
Frank Warmerdam
warmerdam at pobox.com
Wed Feb 13 20:12:13 EST 2008
Christopher Barker wrote:
> Hi all,
>
> Does GDAL have a method for converting a paletted image (color table) to
> and RGB image? I've written code for this in Python, using PIL, but it
> dawned on me that it may be built in to GDAL already.
Chris,
In fact, it only exists as a python utility in GDAL: pct2rgb.py
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | President OSGeo, http://osgeo.org
More information about the gdal-dev
mailing list