cpt-city

Supported formats

The gradients on cpt-city are usually available in each of the following file formats:

There are some gradients which have not (or cannot) be translated to some formats. The main restrictions are:

Some of the POV-Ray colour-map (inc) files available on cpt-city contain more than 256 colours; the limit for current versions of the POV-Ray software. If you want to use a larger palette then you'll need to increase the value of MAX_BLEND_MAP_ENTRIES in source/frame.h in the POV-Ray sources and recompile it. Note that POV-Ray imposes restrictions on the distribution of modified sources.

Photoshop can only handle 56 levels in a version 3 grd file and will truncate larger files.

The grd and inc files which are too large for their programs have the links to the files greyed out: the files are there, but probably won't work.

Paint Shop Pro users may need to rename the grd files (with extension PspGradient) to have them recognised by the program. Or can import them.

Other gradient formats may be added at a later date, although only formats which are fully open (and reasonably documented) will be considered for inclusion.

Further information on gradients can be found on the links page.

Validate xhtml css
J.J. Green 2008