lincolnloop / python-qrcode

Python QR Code image generator
https://pypi.python.org/pypi/qrcode
Other
4.34k stars 664 forks source link

How to use attrib parameter in make_image()? #261

Closed Jaironlanda closed 2 years ago

Jaironlanda commented 2 years ago

Hi,

There is any guide/tutorial that I can refer about attrib parameter in make_image()?

SmileyChris commented 2 years ago

Parameters are passed to the underlying image object. If you're using attrib then it must be an SVG which is using ElementTree.Element object.

Jaironlanda commented 2 years ago

Thank you for reply.

I installed this library from here (https://pypi.org/project/qrcode/7.3.1/), but the attrib parameter is not working. To solve this problem, I cloned the main repository.