4 ms·
Nice! Having documents programmatically generating the codes from the underlying data is definitely much nicer and more editable than hard-coding static images
by dbaupp 5y ago
Nice! Having documents programmatically generating the codes from the underlying data is definitely much nicer and more editable than hard-coding static images (I say this even after writing the blog post that does ridiculous things with SVGs in order to avoid JS, ah well).
For these particular posters, I suspect they’re generated in HTML/JS that the business can then print in their browser (or generated directly as a PDF, but I’ve seen some posters that have the classic printed-from-web-page header and footer with URL etc).
There’s a lot of businesses in NSW/Australia, and all the posters are near identical. Thus, they wouldn’t be hand-crafted each time, and programmatically inserting a custom code into a word document would be a … surprising implementation decision (to me).
- toomanybeersies 5y agoSince most government software is written in Java, the QR codes on PDF check-in posters are probably being generated with ZXing [1]. [1] https://github.com/zxing/zxing https://github.com/zxing/zxing