LB Booster
« Creating QR Codes »

Welcome Guest. Please Login or Register.
Apr 1st, 2018, 04:07am



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
We apologize Conforums does not have any export functions to migrate data.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

Thank you Conforums members.
Speed up Liberty BASIC programs by up to ten times!
Compile Liberty BASIC programs to compact, standalone executables!
Overcome many of Liberty BASIC's bugs and limitations!
LB Booster Resources
LB Booster documentation
LB Booster Home Page
LB Booster technical Wiki
Just BASIC forum
BBC BASIC Home Page
Liberty BASIC forum (the original)

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Creating QR Codes  (Read 204 times)
Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Creating QR Codes
« Thread started on: Sep 13th, 2016, 7:14pm »

There's a thread over at the LB Community Forum about how to create QR Codes in Liberty BASIC. As it states, there are online sites that will generate them for you, but as user Cryptoman has pointed out there are circumstances when you may want to generate a QR Code when you don't have an internet connection.

Whatever the requirement I always prefer programming a solution in native Liberty BASIC code, but I recognise that in this case that is probably over-ambitious. However there is an alternative: there's a self-contained command-line-driven QR Code generator which can easily be called using LB's RUN statement.

The generator can be downloaded as part of the qrencode-win32 package. If you run qrcodegui_setup-3.4.4.exe one of the files it installs is qrcode.exe. In its simplest mode that can be run from the command line as follows:

Code:
qrcode -o \temp\qr.png "The quick brown fox jumps over the lazy dog" 

I'm sure I don't need to explain how to call it using LB's RUN statement.

Important note: This QR Code generator is licensed under the GNU LGPL (Lesser General Public Licence).

Richard.
User IP Logged

tsh73
Full Member
ImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 210
xx Re: Creating QR Codes
« Reply #1 on: Sep 14th, 2016, 07:44am »

Special kudos for JB compatible solution wink
« Last Edit: Sep 14th, 2016, 07:45am by tsh73 » User IP Logged

CryptoMan
New Member
Image


member is offline

Avatar




PM

Gender: Male
Posts: 46
xx Re: Creating QR Codes
« Reply #2 on: Sep 17th, 2016, 9:47pm »

Thanks for the link to this.

But, I like to make it from scratch if I can find some time in the future.

Probably, it will be hard and slower but it's a challenge.

First step is finding all necessary documentation and articles.
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls