is there anyway in jquery to change part of an image

if i have an image (jpg, png, gif .doesn’t really matter ) and i want to have some javascript code change part of an image.

for example, lets say i have this picture of a cookie like here.

and i have a color picker that lets a person select a color. I want to change the color of part of the image (in this case, lets say the color of the chocolate chips) to the color that is picked.

is that possible to do in javascript / jquery ?

newest questions tagged jquery – Stack Overflow

About Admin