DaemonForums  

Go Back   DaemonForums > Miscellaneous > Guides

Guides All Guides and HOWTO's.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 29th May 2019
victorvas victorvas is offline
Real Name: Victor
Linux
 
Join Date: May 2019
Posts: 148
Thumbs up 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
Reply With Quote
  #2   (View Single Post)  
Old 30th May 2019
ripe's Avatar
ripe ripe is offline
Package Pilot
 
Join Date: Feb 2013
Location: France
Posts: 175
Default

Nice. If this is a guide, do not hesitate to put it in the Guides section.
Reply With Quote
  #3   (View Single Post)  
Old 30th May 2019
victorvas victorvas is offline
Real Name: Victor
Linux
 
Join Date: May 2019
Posts: 148
Default

There are plenty of web servers that will create QR codes for you for free. But then you will share your information with third parties and trust them to do your computing for you.
I would rather do my own computing on my own machine.
I wouldn't call it a guide because of a very small amount of information I provided.
But it's worth mention on the forums.
Reply With Quote
  #4   (View Single Post)  
Old 31st May 2019
ripe's Avatar
ripe ripe is offline
Package Pilot
 
Join Date: Feb 2013
Location: France
Posts: 175
Default

Quote:
Originally Posted by victorvas View Post
There are plenty of web servers that will create QR codes for you for free. But then you will share your information with third parties and trust them to do your computing for you.
I would rather do my own computing on my own machine.
I am OK with you.

Quote:
Originally Posted by victorvas View Post
I wouldn't call it a guide because of a very small amount of information I provided.
But it's worth mention on the forums.
I understand, thank you for mentionning it, I did not know it can be possible to create QR on OpenBSD.
Go on ahah!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating 'install.conf' for OpenBSD automatic installations J65nko Guides 4 19th July 2022 02:52 AM
Creating scenario with OpenBSD, network benky OpenBSD Security 10 12th February 2015 09:35 PM
Remap colour escape codes bsdperson FreeBSD General 2 14th September 2009 10:52 AM
Creating 2 slices Beastie FreeBSD Installation and Upgrading 7 23rd March 2009 12:22 AM


All times are GMT. The time now is 02:24 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick