[reportlab-users] Performance Issue generating multiple QR codes

Thomas Kremmel thomasspin at gmail.com
Thu Sep 25 10:16:00 EDT 2014


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 <robin at reportlab.com>:

> 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
> reportlab-users at lists2.reportlab.com
> https://pairlist2.pair.net/mailman/listinfo/reportlab-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist2.pair.net/pipermail/reportlab-users/attachments/20140925/23a61f43/attachment.html>


More information about the reportlab-users mailing list