I'm trying to do the same as in this question, but more basic: I have a PNG image with only white and transparent as colors. I need to colorize the white part, without touching the transparent part, in a given RGB hex value.
I'd like to do this with a jQuery plugin. Is there any that can do this?
It has to work in the latest versions of all major browser (IE, FF, GC, Safari), with bonus points for lower version support as well.
Example usage
Things I found / thought of already:
- Pixastic, but that doesn't have cross-broswer support
- CamanJS, but that isn't for jQuery
- Overlaying with another div like here, but that would harm the transparent parts
- Making the white parts transparent and vice versa, and then use a background-color - but the images are uploaded by the user and this wouldn't make it more user friendly