Im a generating a 25x25 QRCode using ZXINGNET class library. On my Fez Spider + T35 setup it takes about 12 seconds to generate the QR, converting it to a bitmap and finally see it on the T35.
Im sure there are ways to speed things up a bit? Generating one in a backend service might be a solution if nothing else is available but would like to see if i can do it more efficiently locally first.
We had someone generate codes before and it wasn’t slow. There is no need for RLP. This was on our wiki very long time who. Not sure if we have it now on codeshare or wiki.
as soon you mentioned I remembered seen it and I found it on my system but didn’t find any notes in the source code of the author here is the original page:
I know that the thread is marked as solved. But I want to tell you why ZXing.Net for the micro framework is so much slower and how I made it a little bit faster.
I’m the guy behind ZXing.Net btw. So it was very important for me to know why there is such a big difference.
Gus solution has one important line:
Encoder.QREnableSelectMask = false;
With that set to false the mask selection is disable. Mask selection is a very expensive operation. If you set it to true it slows down the solution significantly.
On the other hand I made mask selection within ZXing.Net optional. It works much faster now but is slower by factor 1.5 than Gus solution. It was a factor of 4 to 6 before.
I committed the changes to the official ZXing.Net repository if someone is interested.
Nice, you use ZXing.Net with .Net 4.5 and Micro Framework. That was one of the goals when I started the project, same approach for every .net platform.
But it is very hard to maintain the MF version because of the restrictions of the framework.
So the MF version isn’t up-to-date at the moment.
Hi,
Thanks for your sharing.It is appreciated very much. And I wonder whether there are some differences between the .net qr code barcode generation add-in I am testing these days and the one you mentioned above? Do you have any ideas about barcode generation? Or any good suggestion? Thanks in advance.