gplcpt (1) - Linux Manuals

gplcpt: convert GIMP colour palette (gpl) to GMT colour palette table (cpt).

NAME

gplcpt - convert GIMP colour palette (gpl) to GMT colour palette table (cpt).

SYNOPSIS

gplcpt [-b rgb] [-f rgb] [-h] [-n rgb] [-o file] [-v] [-V] [file]

DESCRIPTION

The gplcpt converts GIMP(1) colour palette (gpl) files to the GMT(1) colour palette table (cpt) format. The output is a piecewise constant (step or discrete) gradient. One could use cptcont(1) program to convert the output to a continuous cpt file if so desired.

The program will read from stdin if a file is not specified as the final argument, and write to stdout if the -o option is not specified.

OPTIONS

In the following, all rgb specifications should be of the form red/green/blue where the colour components are integers in the range 0 to 255.

-b, --background rgb

Set the background colour of the output.

-f, --foreground rgb

Set the foreground colour of the output.

-h, --help

Brief help.

-n, --nan rgb

Set the NaN (no data) colour of the output.

-o, --output file

Write the output to file, rather than stdout.

-v, --verbose

Verbose operation.

-V, --version

Version information.

AUTHOR

J.J. Green

SEE ALSO

GIMP(1), GMT(1), cptcont(1).