html5 canvas - Setting context.globalAlpha overrides the image's own alpha -


i have .png image alpha channel, , if draw canvas render image's alpha channel. if set context.globalalpha = 0.5 draw every pixel of image using alpha of 0.5, ignoring image's alpha - not want! want draw image half alpha has @ each pixel. how do this?


Comments

Popular posts from this blog

minify - Minimizing css files -

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -