J. W. Goethe

Colours are the deeds of light; its deeds and sufferings: thus considered we may expect from them some explanation respecting light itself.

J. W. Goethe, preface to The Theory of Colour, 1810

cptutils

The GMT package implements colour gradients with the cpt (colour palette) file format, and provides some tools for creating and manipulating them. The cptutils package contains a number of additional utilities, mostly for translation to and from other formats.

A wrapper script, gradient-convert, is included in the package to simplify the conversion process.

Additionally:

colour scale

GMT scale from GIMP's Sunrise

The cptutils package was written to aid the construction of the cpt archive cpt-city (where thousands of gradients can be downloaded). The Unix source distribution for version 1.55 (August 2014) of the package can be downloaded here (you will need to have libxml2 and libpng installed to compile it). Fedora Linux users will find a prebuilt package in their YUM repositories (or via RPM pbone, rpmfind) and Gentoo Portage is detailed here.

An online conversion tool which uses cptutils can be found at cptutils-online.

 

10/08/2014

lang en fr | validate xhtml css