Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

README

        

# qr-vanity


example logo
Automatically embedding pixel art in QR-codes.

License: MIT
Updates
Python3


←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