DOKK / manpages / debian 10 / qmapshack / qmt_rgb2pct.1.en
QMT_RGB2PCT(1) QMT_RGB2PCT(1)

qmt_rgb2pct - a rgb2pct replacement that does not need python

qmt_rgb2pct [ -v | --version ] [ -h | --help ] [ -n | --ncolors <number>] [ -p | --pct <filename>] [ -s | --sct <filename>] source traget

Convert GeoTiff files with RGB or RGBA color scheme into a dithered GeoTiff with color table

Main features:
- Optional read external color table
- Optional save external color table
- Convert aplha band into a no data value

-h, --help
Displays this help.

-v, --version
Displays version information.

-n, --ncolors <number>
Number of colors. (default: 255)

-p, --pct <filename>
Input palette file for color table (*.vrt)

-s, --sct <filename>
Save color table to palette file (*.vrt)

source
Source file.

target
Target file.

https://bitbucket.org/maproom/qmapshack/wiki/DocMain

qmt_rgb2pct was written and is currently maintained by Oliver Eichler <oliver.eichler@gmx.de>.

Jan 2018