Converts an HTML image to a canvas. This creates a new canvas element and draws the image on it.
image to convert
a new canvas element
Converts an HTML image to a canvas. This creates a new canvas element and draws the image on it.