/QRimgtest

Primary LanguagePython

QRimgtest

test repo for embedding logo into QR image and color, format customization

how to run

You must have rsvg-convert installed

sudo apt install librsvg2-bin pip install pypng

Requires at least python3.8

python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python3 test_template.py 
  • change colors in test_template.py

  • EDIT YOUR SVG TEMPLATE FILE to refer to qr_code, idnumber, expires and sats with {{ }}, For example:

         width="166.29921"
         height="166.51379"
         preserveAspectRatio="none"
         href={{qrcode}}
         id="image4277"
         x="811.72894"
         y="208.38103" />