I'm trying to use drawImage to draw a semi-transparent PNG on a canvas element. However, it draws the image as completely opaque. When I look at the resource that's being loaded and load the actual PNG in the browser, it shows the transparency, but when I draw it on the canvas, it does not. Any ideas?
Here's the code:
drawing = new Image()
drawing.src = "draw.png"
context.drawImage(drawing,0,0);