Closed tarngerine closed 2 years ago
I think it's possible to manually instantiate a Renderer and then provide a 2x naturalSize manually, but these days it feels like the rasterizer should be able to get the window.devicePixelRatio and do this by default
window.devicePixelRatio
Hm, nevermind, I see the option renderAtNaturalSize which I assume would respsect tyhe original image size, not the <img> size.
renderAtNaturalSize
<img
I think it's possible to manually instantiate a Renderer and then provide a 2x naturalSize manually, but these days it feels like the rasterizer should be able to get the
window.devicePixelRatio
and do this by default