Love this lib and how minimal and dependency-free it is!
One rather minor issue I stumbled across: On higher-res displays (like modern mobile phones) the QR code gets somewhat blurry. I tried rendering it in double-resolution and scale it down via CSS. However, this results in a blurry QR code on “normal” resolution displays (at least when applying the neat rounded-corner effect).
It would be nice to have either a vector version or something similar to multi-size srcsets like supported by img. Don’t know if this is possible with canvas, though.
Love this lib and how minimal and dependency-free it is!
One rather minor issue I stumbled across: On higher-res displays (like modern mobile phones) the QR code gets somewhat blurry. I tried rendering it in double-resolution and scale it down via CSS. However, this results in a blurry QR code on “normal” resolution displays (at least when applying the neat rounded-corner effect).
It would be nice to have either a vector version or something similar to multi-size
srcsets
like supported byimg
. Don’t know if this is possible withcanvas
, though.Or maybe there’s another way?