cpttext (1) - Linux Manuals

cpttext: print text coloured by a GMT colour palette table (cpt) file.

NAME

cpttext - print text coloured by a GMT colour palette table (cpt) file.

SYNOPSIS

cpttext [-h] [-H] [-t text] [-v] [-V] [file]

DESCRIPTION

The cpttext program prints text in the colours specified by the GMT(1) colour palette table (cpt) file. Currently only HTML output is supported.

The program will read the cpt file from stdin if a file is not specified as the final argument, and writes to stdout.

OPTIONS

-h, --help

Brief help.

-H, --html

Output in HTML format (the default, so this switch is redundant).

-t, --text string

The text to print, which should be quoted if containing whitespace.

-v, --verbose

Verbose operation.

-V, --version

Version information.

EXAMPLE

Colour some Lorem ipsum text in HTML:

  cpttext -H -t "Lorem ipsum dolor sit amet" test.cpt

AUTHOR

J.J. Green

SEE ALSO

GMT(1).