gplcpt (1) Linux Manual Page
NAME
gplcpt – convert GIMP colour palette (gpl) to GMT colour palette table (cpt).
SYNOPSIS
-
gplcpt[-brgb] [-f rgb] [-h] [-n rgb] [-o file] [-v] [-V] [file]
DESCRIPTION
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
