The putImageData() is a method of the HTML5 Canvas, and is used to place new image data onto an existing image.
The putImageData(imageData, dx, dy)
method of the html5-canvas 2D API places the contents of the imageData
array into the calling CanvasRenderingContext2D
object at position (dx, dy)
.
An optional 'dirty rectangle' can be used to clip the imageData
.
For more information, see MDN.