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