I've loaded my images to canvas to manipulate them at pixel level.
However, the best practice I can find is to set canvas size like this:
But when I control the canvas dimension with css likeCode:
<canvas id=c width=800 height=600></canvas>
I found that the image quality is different and much worst.Code:
How do I keep the image quality with css as I need my website to be responsive.