Package cptutils

Utilities to manipulate and translate color gradients

http://soliton.vm.bytemark.co.uk/pub/jjg/en/code/cptutils.html

The cptutils package contains a number of utilities for the manipulation of
color gradients; mainly for translating between different formats. Formats
supported include ggr (GIMP gradient), cpt (GMT color palette table),
avl (Arcview Legend), lut (xmedcon), svg, and version 3 of the grd format.

The cptutils package was written to aid the construction of the cpt archive
cpt-city http://soliton.vm.bytemark.co.uk/pub/cpt-city where thousands of
gradients can be downloaded.

General Commands (Section 1)
avlcpt
The avlcpt utility will extract a gradient from an ArcView Legend (avl) file and write it to the GMT (Generic Mapping Tools) cpt format. Note that not every avl...
cptcat
The cptcat utility concatenates two or more GMT colour palette table (cpt) files. The mandatory file arguments specify the input files which may be specified in...
cptclip
The cptclip utility extracts a sub-table from a cpt format file. The arguments to the mandatory -R option, min/max, are interpreted as the (z) limits of the...
cptcont
The cptcont program converts a (possibly) discontinuous colour palette in the input to a continuous palette in the output. This is achieved by replacing the...
cpthsv
The cpthsv utility reads the RGB colour palette in the input, converts its colours to the HSV colour-space, modifies these values in some simple ways, then...
cptinfo
The cptinfo utility prints summary information on the colour palette table (cpt) file which is its input. The program will read from stdin if a file is not...
cptpg
The cptpg utility converts the colour palette table (cpt) files used by GMT(1) to the colour-maps used by PostGIS, in particular those for the ST_ColorMap...
cptsvg
The cptsvg utility converts the colour palette table (cpt) files used by GMT(1) to the gradients in the Scalar Vector Graphics (SVG) format. The program will...
gimplut
The gimplut utility converts gradient files from the GIMP(1), the GNU Image Manipulation Program, to a binary lookup table format commonly used by medical...
gimpsvg
The gimpsvg utility converts gradient files from the GIMP(1), the GNU Image Manipulation Program, to the SVG (scalar vector graphics) format. The program will...
gplcpt
The gplcpt program converts GIMP(1) colour palette (gpl) files to the GMT(1) colour palette table (cpt) format. The output is a piecewise constant (step or...
gradient-convert
The gradient-convert program converts gradients to other formats. It is a wrapper script which make a number of calls the individual programs from the cptutils...
pspsvg
The pspsvg utility converts the gradient files used by PaintShop Pro (which usually have the extension jgd or PspGradient) to the Scalar Vector Graphics (SVG)...
pssvg
The pssvg program converts Photoshop grd5 gradients to the SVG format. Unlike most of the other file formats handled by the cptutils package, grd5 files may...
svgx
The svgx program extracts and converts gradients in an SVG file. Unlike most of the other file formats handled by the cptutils package, SVG files may contain...
xycpt
The xycpt program generates discrete or continuous cpt files from simple input describing sample values of the colour (or greyscale) range. The input consists...