1pct2rgb(1)                  General Commands Manual                 pct2rgb(1)
2
3
4

NAME

6       pct2rgbConvert an 8bit paletted image to 24bit RGB.
7

SYNOPSIS

9       pct2rgb.py [-of format] [-b band] [-rgba] source_file dest_file
10

DESCRIPTION

12       This utility will convert a pseudo-color band on the input file into an
13       output RGB file of the desired format.
14
15       -of format:
16           Select the output format. Starting with GDAL 2.3, if not specified,
17           the format is guessed from the extension (previously was GTiff).
18           Use the short format name
19
20       -b band:
21           Band to convert to RGB, defaults to 1.
22
23       -rgba:
24           Generate a RGBA file (instead of a RGB file by default).
25
26       source_file:
27           The input file.
28
29       dest_file:
30           The output RGB file that will be created.
31
32       NOTE: pct2rgb.py is a Python script, and will only work if GDAL was
33       built with Python support.
34
35       The new '-expand rgb|rgba' option of gdal_translate obsoletes that
36       utility.
37

AUTHORS

39       Frank Warmerdam warmerdam@pobox.com, Silke Reimer silke@intevation.de
40
41
42
43GDAL                            Mon Feb 11 2019                     pct2rgb(1)
Impressum