lincolnloop / python-qrcode

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

Decode QRCode from a PNG is not possible #238

Closed Hierosme closed 2 years ago

Hierosme commented 2 years ago

Hello look, the actual code not have capability to Read a QRCode from a png file.

I have confirm that by read every unittest.

Only Type BytesIO , PIL.Image, StringIO are tested. Never the encoded data is verify by a Encode/Decode

Unfortunally it writing a tools use python-qrcode lib and that is imposible to write a unittest and get back my data after a Encode/Decode.

Please consider to follow Issues and Pull Requests, because actually it have not value to contribute to python-qrcode

SmileyChris commented 2 years ago

QRCode is solely a QR code generator, not a QR code reader.