[gdal-dev] Return codes in gdalwarp

Even Rouault even.rouault at mines-paris.org
Sat Nov 14 05:14:56 EST 2009

Selon Michal Migurski <mike at stamen.com>:

> Thanks for the suggestion. It makes sense, though it seems that
> gdal_translate can't do this natively, is that true? I'm looking at
> resources like http://w3.cs.jmu.edu/arch/schol/software/gdal-sup/All.html
>   and they seem to indicate that there's no native palette-to-RGB
> conversion offered in gdal_translate, and I can't find any in the docs.

http://www.gdal.org/gdal_translate.html mentions the -expand rgb option.

e.g. : gdal_translate -expand rgb src_palette.tif dst_rgb.tif

More information about the gdal-dev mailing list