I am trying to do the same as in this question , but simpler: I have a PNG image with white and transparent color. I need to colorize the white part without touching the transparent part, in this hexadecimal RGB value.
I would like to do this with the jQuery plugin. Is there anything that can be done?
It should work in the latest versions of all major browsers (IE, FF, GC, Safari), with bonuses to support the lower version.
Usage example



Things I found / thought already:
- Pixastic , but it does not support cross browser.
- CamanJS , but this is not for jQuery
- Overlaying on another div, for example here , but this will harm the transparent parts.
- Make the white parts transparent and vice versa, and then use the background color - but the images are uploaded by the user, and this will not make it more convenient
source share