GDAL
|
Convert an 8bit paletted image to 24bit RGB.
Usage:
pct2rgb.py [-of format] [-b band] [-rgba] source_file dest_file
This utility will convert a pseudo-color band on the input file into an output RGB file of the desired format.
NOTE: pct2rgb.py is a Python script, and will only work if GDAL was built with Python support.
The new '-expand rgb|rgba' option of gdal_translate obsoletes that utility.