Git Product home page Git Product logo

Comments (5)

soldair avatar soldair commented on July 23, 2024 2

well i return the canvas object so its very easy just to draw an image into the middle. this is what i have done and most other have done too. The default for this qrcode lib generates codes with maximum error correction so its ready for you to blow out a small area in the middle for a logo.

here is the doc for the specific canvas method but i bet there are nicer examples out there. =)
https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D#drawImage()

from node-qrcode.

soldair avatar soldair commented on July 23, 2024

oh this looks like an easy one http://www.html5canvastutorials.com/tutorials/html5-canvas-images/

from node-qrcode.

4lejandrito avatar 4lejandrito commented on July 23, 2024

Thanks a lot, I'll have a look :)

from node-qrcode.

4lejandrito avatar 4lejandrito commented on July 23, 2024

Shall we close this issue?

from node-qrcode.

soldair avatar soldair commented on July 23, 2024

yeah. i think so. for now i dont think it will be part of this lib but
think about publishing a module called qrcode-logo that resizes and adds an
image logo yourself when you figure it out =)

On Thu, Apr 24, 2014 at 8:36 AM, Alejandro Tardín
[email protected]:

Shall we close this issue?


Reply to this email directly or view it on GitHubhttps://github.com//issues/27#issuecomment-41294821
.

from node-qrcode.

Related Issues (20)

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.