I had need to read Gimp gradient .ggr files today, so I hacked together a Python module to do it. There was enough niggling detail that I think this may save someone else some work: I give you ggr.py.

Also, I found cpt-city, J. J. Green's collection of gradients collected from around the web and presented in a variety of file formats, including .ggr.

tagged: , , » 1 reaction

Comments

[gravatar]
andrew 9:30 PM on 15 Sep 2007

Ow! I wish I hadn't looked at the code. Now my sinusoidals hurt.

Add a comment:

name
email
Ignore this:
not displayed and no spam.
Leave this empty:
www
not searched.
 
Name and either email or www are required.
Don't put anything here:
Leave this empty:
URLs auto-link and some tags are allowed: <a><b><i><p><br><pre>.