QR code as SVG #2668
Offbeatmammal
started this conversation in
Ideas & Suggestions
QR code as SVG
#2668
Replies: 1 comment 5 replies
|
Great question. It would require a substantial rearchitecture to generate the existing canvas output and SVG, especially considering the need to stay in sync with the component's current styling API. The change would be better to do upstream, but I'm not sure it's worth the extra bytes to support both. SVG would be best, but unless @KonnorRogers wants to rework his fork, I think we're stuck with canvas. 😆 Note: if resolution is the problem, you can generate a larger canvas size and style the width/height via CSS to scale it down. |
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
We are generating QR codes on our website for access to certain things, and usually it's enough to download the generated image and print that off, but I've had a request to make it available as an SVG. I could go off and find another QR code generator solution but I'd prefer not to - is it something WA could handle natively from the canvas?
All reactions