Comments (8)
what about being able to produce things like this?
https://research.swtch.com/qr/draw
from pyqrcode.
No, that's beyond the scope of this project, I'd think.
You can use the generated QR Code and modify it with an application or use (in case of PNG) https://pypi.python.org/pypi/Pillow to modify it with Python.
from pyqrcode.
Thanks tried this and its working, I will be contributing this feature soon to this repo.
from pyqrcode.
Thanks tried this and its working, I will be contributing this feature soon to this repo.
Well, that may create a depencency on Pillow / PIL. IMO that's against the goal of this project "(almost) no dependencies". But your solution may be interesting for others.
BTW: You don't have to create a file. Use io.BytesIO and write the data into a memory buffer. Pillow should work with the buffer as well.
from pyqrcode.
Okay Thanks Will try that for sure!!
from pyqrcode.
I'm curious, not so much about the final step of placing whatever image on top of the QR code, but the whole idea that the code would still work after being "defaced" ( 😉 ) this way. It only works because of redundancy in the QR code, isn't it so? Can you calculate the amount of necessary error correction, given the size of the hole you already plan to cut in the resulting QR code?
from pyqrcode.
FYI, I have a little project for a commandline tool which injects the Plone logo into the SVG code via lxml. I'm willing to generalize it once version 1.0 is released.
from pyqrcode.
Is there any way to import the logo in the center of SVG qr code
from pyqrcode.
Related Issues (20)
- Add svg logo in middle of qrcode HOT 4
- Update the QRcode? HOT 1
- [DISCUSS] Feature PR: Output as base64 HOT 4
- pypng is an unlisted dependency HOT 5
- Rounded edges and Dots HOT 2
- Finding the settings for a given QR Code?
- Extended Channel Interpretation value set in QRCode HOT 1
- Storing ANSI/ISO-8859-1 in QR Code HOT 1
- Drop Python2 Support HOT 1
- for latest code see pyqrcodeNG - outstanding pull requests HOT 1
- How to get message code words?
- Can somebody explain message data codewords? HOT 1
- Doesn't recognize Cyrillic HOT 1
- width and height attributes of generated svg are huge HOT 1
- ValueError: buffer size must be a multiple of element size HOT 2
- There is no way to export QrCode to desired path or folder
- terminal not work on windows terminal with WSL HOT 3
- non ascii characters HOT 4
- QR code in dxf HOT 1
- Please add the ability to convert to rMQR code.
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 pyqrcode.