Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SVG generation #112

Open
rugk opened this issue Apr 27, 2018 · 4 comments
Open

SVG generation #112

rugk opened this issue Apr 27, 2018 · 4 comments

Comments

@rugk
Copy link

rugk commented Apr 27, 2018

Maybe you can add generation as an SVG image?

The advantage would be that it is easily re-size/scalable.

@rugk rugk changed the title SVg generation SVG generation Apr 27, 2018
@neocotic
Copy link
Owner

@rugk this is actually something that I've wanted to do for some time now but just need to find the time to get around to it. The other benefit is that I could drop the node-canvas dependency from the Node.js version. I could even potentially merge the projects under a single package again depending on how it's implemented. It would hopefully solve/abstract a lot of the sizing issues we have, which are what put me off coming back to this project sometimes, as there's bigger issues I want to address (e.g. compatibility issues, utf8 support).

@rugk
Copy link
Author

rugk commented Apr 27, 2018

Well… IMHO I would still offer canvas as an option – maybe one rather likes to use it. Mhh…

@rugk
Copy link
Author

rugk commented Apr 27, 2018

BTW for my add-on I also looked for SVG qr code generators and found e.g. this one: https://github.com/papnkukn/qrcode-svg

@nayuki
Copy link

nayuki commented Aug 27, 2018

My QR Code generator library supports SVG as one of its output formats. Have a look at qrcodegen.js#L167.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants