Comments (5)
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.
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.
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.
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.
@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)
- rMQR Support
- ANSI and UTF8 types do not display properly on Windows HOT 2
- Please mention SVG output option in usage summary
- [Build Failed] Please consider updating autotool scripts.
- The library doesn't respect the encoding standard HOT 1
- Generation of lib and dll for windows
- Optimal text segmentation HOT 1
- Detect type of image from extension
- Setting --dpi has no effect on the PNG output HOT 2
- qrencode does not work with local linux vt/console
- Is it possible to use QRcode_encodeData() with command line tool (qrencode)?
- input string beginning with "-" parsed as option HOT 4
- How to add qrencode libraries in Qt creator?
- Cmake error HOT 1
- libqrencode on Perl and on Windows
- Questionable interpretation of mask scoring criterion number 3 (finder pattern) HOT 2
- IS THIS PROJECT DEAD?
- What is the maximum string length for QRcode_encodeStringStructured? HOT 1
- Wrong constant in QRinput_encodeModeECI
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libqrencode.