How can I automatically scale the HTML5 element to fit the page?
For example, I can get a to scale by setting th
to scale by setting th
Unless you want the canvas to upscale your image data automatically (that's what James Black's answer talks about, but it won't look pretty), you have to resize it yourself and redraw the image. Centering a canvas