+ 2

Change color of pixels using javascript

Whether it is possible to change the color of pixels in an image using javascript. If so, how?

28th Jan 2017, 12:59 PM
Š”туŠ“Šøя Š²ŠµŃŃ‘Š»Š¾Š³Š¾ ŠŗŠ°Ń€ŠæŠ°
Š”туŠ“Šøя Š²ŠµŃŃ‘Š»Š¾Š³Š¾ ŠŗŠ°Ń€ŠæŠ° - avatar
2 Answers
+ 3
no not possible but you can use css filters. a div with alpha set of color upon an image can make it look like image color is changed
28th Jan 2017, 1:05 PM
Sandeep Chatterjee
+ 2
Yes, since Html5 and the <canvas> element and JS API, you can do that kind of stuff... even on playing video if wanted :P
29th Jan 2017, 6:46 AM
visph
visph - avatar