qmt_rgb2pct(1)

qmt_rgb2pct1

A rgb2pct replacement that does not need python

Usage

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

Overview

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

Options

-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.

Releases

5 releases since Debian 10 (Buster); the text changed 1 time.

  1. 10
  2. 11–Arch

Author

qmt_rgb2pct was written and is currently maintained by Oliver Eichler <[email protected]>.

From qmapshack 1.21.1-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.