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
Post a Comment