-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhancement Request: QR-Code Size #20
Comments
I had a deeper look into the file "pibooth_qrcode.py".
I would be happy, if you could implement it into your plugin. Thanks and regards |
@mozdi: I already installed this QRcode plugin and want to change the size of the qrcode. Where can I find the right file on my RPI to adjust the code like you suggest? EDIT: never mind: I just found it here: |
@BramWerbrouck: I suggested to change it in the repository, but unfortunately my pull request didn´t get enough attention. |
@mozdi yes everythng works as expected I did another small modification and added:
and changed in def pibooth_configure(cfg): I am also looking to change the text size depending on the QRcode-size, will be continued... |
Currently the QR-Code is too small for my screen and I would be happy if I could change the size with a variable.
I have not testet it, but I think that could be done very easy by setting version to a higher number (int between 1 and 40).
The
version
parameter is an integer from 1 to 40 that controls the size ofthe QR Code (the smallest, version 1, is a 21x21 matrix). (https://pypi.org/project/qrcode/)
Thanks and regards,
Mozdi
The text was updated successfully, but these errors were encountered: