1pct2rgb(1) General Commands Manual pct2rgb(1)
2
3
4
6 pct2rgb - .TH "pct2rgb" 1 "Fri Apr 22 2011" "GDAL"
7
9 pct2rgb - Convert an 8bit paletted image to 24bit RGB
10
12 pct2rgb.py [-of format] [-b band] source_file dest_file
13
15 This utility will convert a pseudocolor band on the input file into an
16 output RGB file of the desired format.
17
18 -of format:
19 Format to generated (defaults to GeoTIFF).
20
21 -b band:
22 Band to convert to RGB, defaults to 1.
23
24 source_file:
25 The input file.
26
27 dest_file:
28 The output RGB file that will be created.
29
30 NOTE: pct2rgb.py is a Python script, and will only work if GDAL was
31 built with Python support.
32
33 The new '-expand rgb|rgba' option of gdal_translate obsoletes that
34 utility.
35
37 Frank Warmerdam <warmerdam@pobox.com>, Silke Reimer
38 <silke@intevation.de>
39
40
41
42GDAL Fri Apr 22 2011 pct2rgb(1)