[Gdal-dev] RGB Palette to RGB data?

Mario Beauchamp starged at videotron.ca
Thu Feb 10 00:19:32 EST 2005


Hi William,

On Wed, 09 Feb 2005 14:50:26 -0500, William Lyons <wlyons at prologic-inc.com> wrote:

>I have a dataset which has one PaletteIndex band which maps to an RGB
>color table.  Is it possible to have GDAL convert that to a dataset with
>red, green, & blue bands?

You can try with the script pct2rgb.py. I don't know if there is another way.

Hope it helps.
--
Mario B.
Landsat images (demo):
http://pages.infinit.net/starged/landsat/home.htm



More information about the Gdal-dev mailing list