Skip to content

Commit

Permalink
added instructions for QR logo generation
Browse files Browse the repository at this point in the history
  • Loading branch information
diafygi committed Jan 31, 2021
1 parent 2341dcc commit 4e77d2b
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 0 deletions.
Binary file added logo/01_pixel_syringe.xcf
Binary file not shown.
Binary file added logo/01_pixel_vax-codes.xcf
Binary file not shown.
Binary file added logo/02_pixel_syringe.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added logo/02_pixel_vax-codes.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added logo/03_output_syringe_7_7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added logo/03_output_vax-codes_3_5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added logo/04_qr_syringe.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added logo/04_qr_vax-codes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions logo/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
## Logo

The logos are embedded bitmap images inside QR codes that contain a URL to the website.

### How to make embedded images in QR codes

* Using [GIMP](https://www.gimp.org/), create a black/white/transparent pixel graphic of the image you want to embed (`01_pixel_*.xcf`)
* Export the graphic to a gif (`02_pixel_*.gif`)
* Using [qr-vanity](https://github.com/mzollin/qr-vanity), generate QR codes for "https://vax.codes" with the image embedded in it
* `sudo apt install git python3-dev python3-setuptools python3-pip libzbar0 libzbar-dev`
* `virtualenv -p python3.7 venv`
* `source venv/bin/activate`
* `git clone https://github.com/mzollin/qr-vanity.git`
* `cd qr-vanity`
* `pip3 install -r requirements.txt`
* `./qrvanity.py /path/to/pixel_vax-codes.gif "https://vax.codes"` (will generate possible QR code png images)
* Select whichever output image you think looks best (`03_output_*.png`)
* Optimize via [pngcrush.com](https://pngcrush.com) (`04_qr_*.png`)

0 comments on commit 4e77d2b

Please sign in to comment.