table of contents
other versions
- stretch 2.1.2+dfsg-5
- testing 2.4.0+dfsg-1+b1
- unstable 2.4.0+dfsg-1+b1
- experimental 3.0.1+dfsg-1~exp1
pct2rgb(1) | General Commands Manual | pct2rgb(1) |
NAME¶
pct2rgbpct2rgb.py - Convert an 8bit paletted image to 24bit RGBSYNOPSIS¶
pct2rgb.py [-of format] [-b band] [-rgba] source_file dest_file
DESCRIPTION¶
This utility will convert a pseudo-color band on the input file into an output RGB file of the desired format.- -of format:
- Format to generated (defaults to GeoTIFF).
- -b band:
- Band to convert to RGB, defaults to 1.
- -rgba:
- Generate a RGBA file (instead of a RGB file by default).
- source_file:
- The input file.
- dest_file:
- The output RGB file that will be created.
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.
AUTHORS¶
Frank Warmerdam warmerdam@pobox.com, Silke Reimer silke@intevation.deSun Apr 9 2017 | GDAL |