lincolnloop / python-qrcode

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

Corrupt png generated via CLI on windows 10 #291

Open jwhendy opened 1 year ago

jwhendy commented 1 year ago

Likely the same as #220 , though that user couldn't track this down. I also am not sure what to look for. Window 10, corporate issued laptop (some weirdness there?). Doing this from PowerShell.

> qr.exe "test" > test.png

ImageGlass, Windows Photos, Firefox, all give some sort of error about the file being unsupported or corrupt. Example from IG: image

> python
Python 3.10.5 (tags/v3.10.5:f377153, Jun  6 2022, 16:14:13) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

> pip freeze
qrcode==7.3.1

Let me know if there is any other information I can provide. I'll try later from my wife's windows computer and see if I can replicate. Attaching file for reference.

test