How to apply filters the HTML canvas pictures | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

How to apply filters the HTML canvas pictures

Hello, I would like to be able to apply filters (particularly hue-rotate) to canvas images but I only know how to do this for css. How do I change the canvas images?

24th Jan 2021, 1:04 AM
Cam UOR
Cam UOR - avatar
2 ответов
24th Jan 2021, 1:09 AM
Jamal Saied
Jamal Saied - avatar
0
https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/filter
24th Jan 2021, 1:23 AM
visph
visph - avatar