I am trying to make a specific color in a HTML5 2d canvas transparent For performance reasons I don't want to iterate over all pixels I have been looking at the webgl-2d.js library to create a webgl canvas to draw it to that to start with to ultimate use clearColor to set the color I want to make transparent and then coy the image back to my 2d canvas. But isn't there a better approach for doing this in the 2d canvas directly.
Cheers Franz