[erlang-questions] QR Code Generator

Tony Rogvall <>
Thu Oct 1 00:28:53 CEST 2015


Data = list_to_binary(lists:duplicate(256,$x)).
timer:tc(fun() -> lists:foreach(fun(_) -> QR = qrcode:encode(Data), qrcode_demo:simple_png_encode(QR) end, lists:seq(1,5)) end).
{1401102,ok}

The performance is nearly there ( running on my mac using only one core )

/Tony

> On 1 okt 2015, at 00:13, Theepan <> wrote:
> 
> Team,
> 
> I am in need of a QR code generator library for Erlang, to generate QR code PNG images of 256 alpha numeric characters.
> 
> When I searched the Internet, I found one on GitHub. Have anyone of you used it? Do you have any recommendations?
> 
> The performance I need is 5 QR code images generation per second.
> 
> Thanks,
> Theepan
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20151001/2516013a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20151001/2516013a/attachment.bin>


More information about the erlang-questions mailing list