Need to generate a QRCode ? An old (but still relevant) project was available on smalltalkhub. As I wasn't aware if it was already available elsewhere, I moved it to Github, including load instruction: Unit test are all green on Linux. Have fun. Renaud |
Great, thanks. This is indeed a very well written project.
> On 14 Apr 2020, at 00:19, Renaud de Villemeur via Pharo-users <[hidden email]> wrote: > > > From: Renaud de Villemeur <[hidden email]> > Subject: [ANN] QRCode on github > Date: 14 April 2020 at 00:19:58 GMT+2 > To: Any question about pharo is welcome <[hidden email]> > > > Need to generate a QRCode ? An old (but still relevant) project was available on smalltalkhub. > > As I wasn't aware if it was already available elsewhere, I moved it to Github, including load instruction: > https://github.com/rvillemeur/QRCode > > Unit test are all green on Linux. > > Have fun. > Renaud > > > > > |
In reply to this post by Pharo Smalltalk Users mailing list
Hi Renaud,
your code is also based on the orginal version of Jochen Rick. Jochens code always worked but unfortunately had only a few tests and was codewise hard to understand. Dont know if you just moved or also refactored and extended it. I also once started with a clean reimplementation (also based on Jochens code but also checked barcode code from Java/JavScript) - mainly to understand the algorithms. I also did not want to limit to QR but also other barcode, includes proper packaging and more tests. Result is here: https://github.com/astares/Pharo-Barcode including also EAN8/EAN13 barcodes. Had to put it aside for time reasons - but maybe this could be the base for a full and clean barcode library for Pharo. I can move it to a community hosted location if more people want to join. Thanks T. Gesendet: Dienstag, 14. April 2020 um 00:19 Uhr Von: "Renaud de Villemeur via Pharo-users" <[hidden email]> An: "Any question about pharo is welcome" <[hidden email]> Cc: "Renaud de Villemeur" <[hidden email]> Betreff: [Pharo-users] [ANN] QRCode on github |
I did some research on qrcode. There are some great libraries out there.
This one is great regarding implementation (and comments). That’d be possible to port or at least inspire (again look at the comments). https://github.com/nayuki/QR-Code-generator/blob/master/python/qrcodegen.py
Also I felt in love with « artistic QR code » Especially half tone QR code. Basically it needs usual qrcode generation then some other (longer) processing. The best library I found is again a python one. You should try it ! Orignal réa search is great to read too (http://vecg.cs.ucl.ac.uk/Projects/SmartGeometry/halftone_QR/halftoneQR_sigga13.html). MyQR pip(3) install myqr
Again there is not a real interest to reimplement it except for learning purposes ! That being said, I’ll happy to try your implementation Torsten (the version from Jochen Rick had some problems for me with big qrcode). QRCode are on my ToDo’s ^^ Cheers, Cedrick
|
Free forum by Nabble | Edit this page |