-
Notifications
You must be signed in to change notification settings - Fork 68
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
Generate SVG? #7
Comments
I forked this repo and added SVG-rendering. It is published as kjua-svg on NPM. Feel free to try it out |
source seems to be here: https://github.com/werthdavid/kjua I'll take a look… Some questions though:
|
Ah okay 2. is answered by the "limitations" sections in the Readme. |
I didn’t make a PR since the owner of Kjua doesn’t seem to care. He’s not answering to issues or the other open PR and even private mails.. |
Anyway, it would be good to propose one. So you show interest at least and no one can blame you that you did not intend to contribute it back. |
That’s right I’ll do that.. |
Crisp-mode was added |
Awesome! I'll need to look into that, because this can solve rugk/offline-qr-code#188 for me… 😄 (don't mind the issue title) |
I have not published this on NPM yet, still working on embedding text at least... do you need a release for your extension? |
I can also just manually download/use the JS file, so no. 😄 |
Okay, actually a release would be nice. I use the file in |
Will do |
kjua-svg@1.6.1 |
If this lib is really not maintained, you could just continue maintaining/versioning it as usual. BTW 1.6.1 release is not on GitHub yet: https://github.com/werthdavid/kjua (maybe just npm?) |
Okay, I am testing how the new lib looks in rugk/qr-code-libs-test#2. What I've noticed so far as that the SVG version is bigger and does not add an automatic border? (still v1.6, so crisp does not work yet) |
I’ve added svg.js in 1.6.2 to enable embedding of Label or Image on the SVG element. Couldn’t get it to work with plain JS, svg manipulation is a pain in the a**. Is this a problem? Any better ideas? |
The new releases are still not tagged on GitHub. Anyway, I've updated my test (comparison) site and it works great! |
I added a svg mode. |
Hello,
What would be necessary to add SVG support, ie the possibility of generating svg files or svg paths, to use offline (in pdf generation for instance)?
Thank you.
The text was updated successfully, but these errors were encountered: