| Crates.io | dither-qr |
| lib.rs | dither-qr |
| version | 0.1.1 |
| created_at | 2025-08-17 10:37:38.04742+00 |
| updated_at | 2025-08-17 10:43:11.06151+00 |
| description | A command line tool for generating QR codes with dithered image backgrounds. |
| homepage | |
| repository | https://github.com/peterc-s/dither-qr/ |
| max_upload_size | |
| id | 1799302 |
| size | 31,845 |
Generate a valid QR code with a dithered background image.
To install:
cargo install dither-qr
For options:
dither-qr --help
Example:
dither-qr -t "https://github.com/peterc-s/dither-qr" -i /path/to/image -o /path/to/output -r 7 -e H -u 3
Will generate a QR code that encodes https://github.com/peterc-s/dither-qr, with a dithered background image /path/to/image, with a ratio of 7 (7x7 pixels per original QR pixels), a high error correction level, and will upscale the output image by 3 times, outputting to /path/to/output.
An example output looks like:
