I have a png containing a circle filled with white and I am applying brightness and color depending on whether I move the mouse over two different spectra. I need to apply color and brightness on the circle considering it as a png and not as it is currently considering it as a jpg. Do you have any suggestions please?
Thanks in advance.
Can I ask, does it have to be a png. can it be a simple ellipse ?
If so you code will just work as is.
Also , I added these to your code so you could click to select and move out of the canvas without making changes as you move out. mouse out actually resets the active so when you mouse over again it again makes changes.