Creating QR codes in OpenBSD
We wanted to send our users text messages in form of QR codes, for them to be able to scan those codes with smartphones.
At first we decided to use one of the web services for QR code generation, but then my friend Gunther found that you can create QR codes in OpenBSD by using a package named libqrencode.
terminal command:
qrencode -s 6 "Your text here!" -o code.png
where -s controls the size of the image (3 is default)
To read QR codes from the image you can use the package, called zbar.
terminal command:
zbarimg code.png
|