Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mzollin/qr-vanity
automatically embedding pixel art in QR-codes
https://github.com/mzollin/qr-vanity
custom design pixel-art pixelart python qr-code qrcode qrcode-generator vanity
Last synced: 5 days ago
JSON representation
automatically embedding pixel art in QR-codes
- Host: GitHub
- URL: https://github.com/mzollin/qr-vanity
- Owner: mzollin
- License: mit
- Created: 2018-02-12T10:23:30.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-10-18T10:43:46.000Z (3 months ago)
- Last Synced: 2024-12-27T02:08:03.341Z (12 days ago)
- Topics: custom, design, pixel-art, pixelart, python, qr-code, qrcode, qrcode-generator, vanity
- Language: Python
- Homepage:
- Size: 58.6 KB
- Stars: 58
- Watchers: 2
- Forks: 8
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# qr-vanity
Automatically embedding pixel art in QR-codes.
←example output## Setup and usage:
- sudo apt install python3-dev python3-setuptools python3-pip libzbar0 libzbar-dev
- pip3 install -r requirements.txt**usage:** ./qrvanity.py input.png "encoded message"
**output:** one or multiple output.png
**input format:** pixel art as small black and white binary image (no grayscales)
**advice:**
- Use transparent pixels where you don't care (outside the motive if it has non-rectangular borders). It will then occupy less data modules (QR-code pixels) and the resulting QR-code will be smaller.
- Drawing a white border around black motives will improve visibility, because it keeps black data modules away.
- The tool may often generate QR-codes that are not strictly valid according to specifications but can nevertheless be read by most QR-code readers.## Python dependencies
- Pillow
- PyQRCode
- zbarlight
- pypng