draw image from file on canvas code example
Example: js canvas draw image
ctx.drawImage(image, x, y) // top left coords
ctx.drawImage(image, x, y, width, height) // scaled
ctx.drawImage(image, x, y) // top left coords
ctx.drawImage(image, x, y, width, height) // scaled