+ 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 ответов
+ 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