Sets the CSS image-rendering property on the given canvas to be 'crisp' (aka 'optimize contrast' on webkit).
name | type | description |
---|---|---|
canvas | HTMLCanvasElement |
The canvas object to have the style set on. |
The canvas.
Sets the CSS image-rendering property on the given canvas to be 'bicubic' (aka 'auto').
name | type | description |
---|---|---|
canvas | HTMLCanvasElement |
The canvas object to have the style set on. |
The canvas.