Generate QR codes with this open source tool | Opensource.com

Generate QR codes with this open source tool

Zint makes it easy to generate more than 50 types of custom barcodes.

Working from home at a laptop
Image by : 

Opensource.com

x

Subscribe now

Get the highlights in your inbox every week.

QR codes are an excellent way to provide information to people without the trouble and expense of printing it. Most people have smartphones that support QR code scanning, regardless of the operating system.

There are many reasons you might want to use QR codes. Maybe you're a teacher looking to challenge your students with supplemental material to enhance learning or a restaurant that needs to provide menus while complying with social-distancing guidelines. I often walk on nature trails where trees and other flora are labeled. Supplementing those small labels with QR codes is a great way to provide additional information about the park's exhibits without the expense and maintenance of signage. In these cases and others, QR codes are very useful.

In searching the internet for an easy, open source way to create QR codes, I discovered Zint. Zint is an excellent open source (GPLv3.0) solution for generating barcodes. According to the project's GitHub repository, "Zint is a suite of programs to allow easy encoding of data in any of a wide range of public domain barcode standards and to allow integration of this capability into your own programs."

Zint supports more than 50 types of barcodes, including QR codes (ISO 18004), that you can easily create, then copy and paste into word processing documents, blogs, wikis, and other digital media. People can scan these QR codes with their smartphones to quickly link to information.

Install Zint

Zint is available for Linux, macOS, and Windows.

You can install the Zint command with Apt on Ubuntu-based Linux distributions:

$ sudo apt install zint

I also wanted a graphical user interface (GUI), so I installed Zint-QT:

$ sudo apt install zint-qt

Consult the manual's installation section for macOS and Windows instructions.

Generate QR codes with Zint

Once I installed the application, I launched it and created my first QR code, which is a link to Opensource.com.

Zint's 50-plus other barcode options include postal codes for many countries, DotCode, EAN, EAN-14, and Universal Product Code (UPC). The project documentation contains a complete list of all the codes it can render.

You can copy any barcode as a BMP or SVG or save the output as an image file in any size you need for your application. This is my QR code at 77x77 pixels.

The project maintains an excellent user manual with instructions for using Zint on the command line and in the GUI. You can even try Zint online. For feature requests or bug reports, visit the site or send an email.

Topics

About the author

Don Watkins - Educator, education technology specialist,  entrepreneur, open source advocate. M.A. in Educational Psychology, MSED in Educational Leadership, Linux system administrator, CCNA, virtualization using Virtual Box. Follow me at @Don_Watkins .