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

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -