0

JavaScript Image with an Alpha Channel

Is it possible to import an image to a JavaScript code that has an alpha channel?

12th Feb 2020, 5:19 AM
Unrealistic Engineer
Unrealistic Engineer - avatar
3 Respuestas
0
Thank you! Unfortunately for me it says that the page cannot be found.
12th Feb 2020, 5:26 AM
Unrealistic Engineer
Unrealistic Engineer - avatar
0
to a canvas ? or just a plain image ? because both retain the transparency, the pixels in imageData in canvas also have 4 channel, so the alpha channel is there
12th Feb 2020, 5:32 AM
Taste
Taste - avatar
0
Oh, it does work now! I don't know what did I do last time. Thanks for the help!
14th Feb 2020, 4:43 PM
Unrealistic Engineer
Unrealistic Engineer - avatar