I have a png image with white edges. I would like to make the edges transparent.
Is there a way to specify a color to be not painted - like a color key or alphamask.
Are there any examples?
For example this image has white edges, and I would like to paint two of them close to eachother without the white.
How can I do that in javascript with canvas?