Skip to content

Slightly faster PNG generation, improved Py2 vs Py3 compatibility#47

Open
heuer wants to merge 2 commits intomnooner256:masterfrom
heuer:feature/png-performance
Open

Slightly faster PNG generation, improved Py2 vs Py3 compatibility#47
heuer wants to merge 2 commits intomnooner256:masterfrom
heuer:feature/png-performance

Conversation

@heuer
Copy link
Copy Markdown
Contributor

@heuer heuer commented Oct 12, 2016

Hi Michael,

Maybe you remember me from some contributions 1,5 years ago... . Since then I developed another QR Code lib (Segno) and ran some benchmarks against popular QR Code generators; cf. https://github.com/heuer/segno/blob/master/sandbox/benchmarks.py or https://segno.readthedocs.io/en/latest/comparison-qrcode-libs.html#create-a-qr-code-and-serialize-it-as-png

PyQRCode's PNG generation is (in comparision to the other libs) slow. I tried to improve the performance a bit. Acc. to my tests, PyQRCode renders the PNG images ca. 40ms faster than before. PyPNG is still a bottleneck, but maybe you find the improvment (use generator instead of a list of lists) worth to merge.

Regards,
Lars

@heuer
Copy link
Copy Markdown
Contributor Author

heuer commented Oct 16, 2016

See #49 for more improvements

@heuer heuer mentioned this pull request Jun 2, 2018
4 tasks
heuer added a commit to pyqrcode/pyqrcodeNG that referenced this pull request Jun 2, 2018
@GursimranSe
Copy link
Copy Markdown

how to install pyqrcode in anaconda

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants