Function putImageData

Source
pub fn putImageData(
    canvas: HtmlCanvasElement,
    ctx: CanvasRenderingContext2d,
    new_image: PhotonImage,
)
Expand description

Place a PhotonImage onto a 2D canvas.