+ 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?
2 Respostas
+ 2
You can change it using Javascript Like this
https://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_canvas_drawimage
0
https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/filter