Re: Performance Issue generating multiple QR codes
Thomas Kremmel <[email protected]>
| Newsgroups | gmane.comp.python.reportlab.user |
|---|---|
| Message-ID | <CA+nmuN-ZvQFLf52hEAPH=EDcD0e1v6Heg8BN-tFPec0Q=k1gDg@mail.gmail.com> |
Thanks for taking a look into this topic! Sorry for the late reply... I'm using reportlab==3.1.8 Thomas Kremmel www.simpleloop.com 2014-09-18 11:03 GMT+02:00 Robin Becker <[email protected]>: > On 18/09/2014 08:12, Anders Hammarquist wrote: > >> In a message of Wed, 17 Sep 2014 21:18:53 +0200, Thomas Kremmel writes: >> >>> ah yes - and the bottleneck was not the qr code data generation, but >>> reportlab printing the qr code. it seems as it is quite a challenge for >>> reportlab to render the qr code when using QrCodeWidget. But rending >>> .pngs >>> is super fast! Thus I would recommend rendering QR code images. >>> >> >> Which version of reportlab are you using? I contributed some significant >> preformance improvements to the qrcode generation, but I'm not sure if >> they've made it to a released version yet. If you have the improved >> version, you will have a QrCode flowable in addition to the QrCodeWidget, >> which is sligtly faster. >> >> /Anders >> > > Hi Anders, > > your code patches are definitely in the repo at > > https://bitbucket.org/rptlab/reportlab > > and are also in the latest packages which are available at > > https://www.reportlab.com/pypi/ > > although to get those one needs a login (see http://www.reportlab.com/ > accounts/register/). > -- > Robin Becker > > _______________________________________________ > reportlab-users mailing list > [email protected] > https://pairlist2.pair.net/mailman/listinfo/reportlab-users >