ailon / markerjs2

Add image annotation to your web apps.
https://markerjs.com
Other
142 stars 39 forks source link

Editor does not rasterize @2x by default #103

Closed tarngerine closed 2 years ago

tarngerine commented 2 years ago

CleanShot 2022-08-08 at 15 42 04

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

tarngerine commented 2 years ago

Hm, nevermind, I see the option renderAtNaturalSize which I assume would respsect tyhe original image size, not the <img> size.