HTML5 Canvas Image

The drawImage method allows you to insert other images (img and canvas elements) into your canvas context. To draw an image using HTML5 Canvas, we can use the drawImage() method which requires an image object and a destination point. The destination point is relative to the top left corner of the image.

Other examples in Canvas (HTML5 Elements)
Result from the Online TryIt-Editor
chrome 1.5safari 5.0Firefox 1.0ie 9.0opera 9.0