1GPLCPT(1) User commands GPLCPT(1)
2
3
4
6 gplcpt - convert GIMP colour palette (gpl) to GMT colour palette table
7 (cpt).
8
10 gplcpt [-b rgb] [-f rgb] [-h] [-n rgb] [-o file] [-v] [-V] [file]
11
13 The gplcpt program converts GIMP(1) colour palette (gpl) files to the
14 GMT(1) colour palette table (cpt) format. The output is a piecewise
15 constant (step or discrete) gradient. One could use cptcont(1) program
16 to convert the output to a continuous cpt file if so desired.
17
18 The program will read from stdin if a file is not specified as the
19 final argument, and write to stdout if the -o option is not specified.
20
22 In the following, all rgb specifications should be of the form
23 red/green/blue where the colour components are integers in the range 0
24 to 255.
25
26 -b, --background rgb
27 Set the background colour of the output.
28
29 --backtrace-file path
30 Specify a file to which to write a formatted backtrace. The file
31 will only be created if there is a backtrace created, typically
32 when an error occurs.
33
34 --backtrace-format format
35 Specify the format of the backtrace written to the files specified
36 by --backtrace-file, one of plain, xml or json.
37
38 -f, --foreground rgb
39 Set the foreground colour of the output.
40
41 -h, --help
42 Brief help.
43
44 -n, --nan rgb
45 Set the NaN (no data) colour of the output.
46
47 -o, --output file
48 Write the output to file, rather than stdout.
49
50 -v, --verbose
51 Verbose operation.
52
53 -V, --version
54 Version information.
55
57 J. J. Green
58
60 GIMP(1), GMT(1), cptcont(1).
61
62
63
64CPTUTILS 7 August 2019 GPLCPT(1)