QR Codes & Java

March 06, 2016 · 1 min read

Yesterday I wanted to bake something and so I prepared the Kanelbullar from my cookbook. I wanted to make it easy for my colleagues to get access to the recipe and decided to pin a printed QR code next to the Cinnamon Rolls. I used a manual QR Code Generator.

Then I had the idea it might become handy to have the QR codes generated automatically when generating my cook book in Java. Research showed that Zebra Crossing / ZXing might be the library of choice. It is actively developed and the license seems ok. QRGen might be worth a try as it adds an abstraction layer on top of ZXing.

The page at QRStuff gives an explanation about calculating the proper size for a printed QR Code.

#Java