Programmatically working with color gradients
I have a python app that uses GIMP gradients to color images. Other than letting the user choose which GIMP gradient t开发者_StackOverflow社区o use, the user doesn't have much more control over the coloring. I'm thinking of how to make it easier to let users edit or create color gradients. Are there preexisting tools for working with creating/editing color gradients (preferably using Python)?
You can get some information about creating gradients from Here and it also provides some example code of how to use it.
精彩评论