Reading pixels out of the canvas and writing them back in.
MDN Reference
Optional
A blank buffer matching the size and layout of an existing one.
As above, writing only the dirtyWidth by dirtyHeight region of imagedata at (dirtyX, dirtyY) rather than all of it.
dirtyWidth
dirtyHeight
imagedata
dirtyX
dirtyY
Reading pixels out of the canvas and writing them back in.