There is a canvas object. How to trim the entire top to 200px?
That is, move down 200px from the top of the picture and save everything below. And remove the top part.
There is a canvas object. How to trim the entire top to 200px?
That is, move down 200px from the top of the picture and save everything below. And remove the top part.
Source: https://ru.stackoverflow.com/questions/886615/
All Articles
ctx.getImageData(0,200, canvas.width, canvas.height-200)- Dmytryk