Package cptutils

Utilities to manipulate and translate color gradients

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 where thousands of
gradients can be downloaded.

General Commands
Command Description
avlcpt convert ArcView™ Legend gradients to GMT colour palette tables
cptcat concatenate GMT colour palette tables.
cptclip extract a sub-table from a GMT colour palette table (cpt).
cptcont create a continuous GMT colour palette table (cpt) file based on the colours of...
cpthsv modify hue, saturation and colour value of GMT colour palette tables.
cptinfo print summary information on GMT colour palette table (cpt) files.
cptpg convert GMT colour palette tables (cpt) to PostGIS colour-maps.
cptsvg convert GMT colour palette tables (cpt) to SVG gradients.
gimplut convert GIMP gradient (ggr) files to binary lookup tables (lut).
gimpsvg convert a GIMP gradient (ggr) to the SVG format.
gplcpt convert GIMP colour palette (gpl) to GMT colour palette table (cpt).
gradient-convert convert gradients between formats
pspsvg convert PaintShop Pro™ gradients (jgd, PspGradient) to the SVG format.
pssvg convert Photoshop™ gradients to SVG.
svgx extract gradients from SVG files.
xycpt generate GMT colour palette table (cpt) files from column data.