Giter Club home page Giter Club logo

Comments (5)

Yenya avatar Yenya commented on September 27, 2024 1

Just a me too: I would like to have this feature implemented in qrencode/libqrencode.

In the meantime, there is an alternative encoder which apparently supports it:
https://github.com/lincolnloop/python-qrcode/

from libqrencode.

PhilterPaper avatar PhilterPaper commented on September 27, 2024

If you are drawing the QRcode as an image of some sort (the usual practice), I suppose you could simply draw your logo as a fully opaque image right "over" (after) the QRcode. Have you tried that yet?

Keep in mind that while logos, etc. over QRcodes are fairly common, you are in fact damaging the code, and using up some of the redundancy that was provided with the code. That is, if someone cuts off or damages some other part of the code, it is possible that you will not have enough "good" code left for a quality read of the code. You will need to set your QRcode generation to be of higher "quality" (higher redundancy) that you might otherwise employ, to account for the damage that you are going to deliberately inflict on the code right away, so that "normal" wear and tear on the QRcode can still be compensated for and the code successfully read.

I have no idea if there are any QRcode layouts defined that leave a space in the middle for a picture or logo, and if there is, whether libqrencode supports it. You might first take a deep dive into the documentation to see if both are true.

from libqrencode.

Yenya avatar Yenya commented on September 27, 2024

There is in fact a type of QR code, which leaves the middle area for other purposes, without damaging the data with it - FrameQR:

https://www.denso-wave.com/en/system/qr/fundamental/qrcode/frameqr/index.html

However, it seems that FrameQR is still proprietary by Denso Wave, and for example BinaryEye Android App cannot read the examples in that page.

Standard QR codes with logos just use higher level of redundancy to account for data damaged by overlapping it with logo.

from libqrencode.

PhilterPaper avatar PhilterPaper commented on September 27, 2024

Interesting. I wouldn't be surprised if FrameQR is patented, or otherwise protected, and can't be written by other parties (yet). I wonder if that Python code mentioned above is heading towards an infringement suit, or if they have a license? Find out before you use it!

from libqrencode.

Yenya avatar Yenya commented on September 27, 2024

@PhilterPaper - I think the above-linked Python code just overlaps the QR code with the logo. I don't think they implement FrameQR. And I agree that FrameQR itself can be patent encubered.

from libqrencode.

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.