I use html5 canvas elements to resize images im my browser. It turns out that the quality is very low. I found this: Disable Interpolation when Scaling a <canvas> but it does not help to increase the quality.
…
i would like to make a rectangular canvas to simulate a progress bar
but it seems when i set the width and height of a canvas to 100%, it doesn't really make it as high and as wide as parent
please …
I am using Chart.js with a simple line chart but the width and height properties calculated by Chart.js seem to be based on the total width and height of the parent element ignoring padding.
JSFiddle
The second container …