Here is the CSS code for styling the canvas object that I am currently using:
canvas{
border: solid black 2px;
background:url("http://upload.wikimedia.org/wikipedia/en/a/aa/Bart_Simpson_200px.png");
background-repeat:no-repeat;
}
Is there a way to adjust the size of the canvas to match that of the background image?