Giter VIP home page Giter VIP logo

Comments (18)

lrsjng avatar lrsjng commented on July 18, 2024 3

I added a svg mode.

from kjua.

werthdavid avatar werthdavid commented on July 18, 2024 1

Crisp-mode was added

from kjua.

rugk avatar rugk commented on July 18, 2024 1

The new releases are still not tagged on GitHub. Anyway, I've updated my test (comparison) site and it works great!

from kjua.

werthdavid avatar werthdavid commented on July 18, 2024

I forked this repo and added SVG-rendering. It is published as kjua-svg on NPM. Feel free to try it out

from kjua.

rugk avatar rugk commented on July 18, 2024

source seems to be here: https://github.com/werthdavid/kjua

I'll take a look…

Some questions though:

  1. Why not (consider to) contribute it back to upstream here? 😃
  2. Did you keep/support the "crisp mode" in the SVG version, too?

from kjua.

rugk avatar rugk commented on July 18, 2024

Ah okay 2. is answered by the "limitations" sections in the Readme.

from kjua.

werthdavid avatar werthdavid commented on July 18, 2024

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..

from kjua.

rugk avatar rugk commented on July 18, 2024

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.

from kjua.

werthdavid avatar werthdavid commented on July 18, 2024

That’s right I’ll do that..

from kjua.

rugk avatar rugk commented on July 18, 2024

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)

from kjua.

werthdavid avatar werthdavid commented on July 18, 2024

I have not published this on NPM yet, still working on embedding text at least... do you need a release for your extension?

from kjua.

rugk avatar rugk commented on July 18, 2024

I can also just manually download/use the JS file, so no. 😄

from kjua.

rugk avatar rugk commented on July 18, 2024

Okay, actually a release would be nice. I use the file in dist usually.

from kjua.

werthdavid avatar werthdavid commented on July 18, 2024

Will do

from kjua.

werthdavid avatar werthdavid commented on July 18, 2024

[email protected]
(I am willingly breaking semver since I want it to be close to kjua. so kjua 0.6 will always be a kjua-svg 1.6)

from kjua.

rugk avatar rugk commented on July 18, 2024

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?)

from kjua.

rugk avatar rugk commented on July 18, 2024

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)

from kjua.

werthdavid avatar werthdavid commented on July 18, 2024

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?

from kjua.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.