You can mapping an image to Canvas through JavaScript code.