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.

  • Move or just hide the top 200px? - Vlad Kosko
  • But how to do it? - manking
  • ctx.getImageData(0,200, canvas.width, canvas.height-200) - Dmytryk
  • @manking And css styles are no longer chanted? - Vlad Kosko
  • @manking, ps if your message in the comments is addressed to a specific user - write his nickname, and before him "dog" - Dmytryk

0