QR Tools

libqrencode – C library for generating QR codes

libqrencode is a compact C library for converting data into QR code symbols. It is intended for developers who need to add QR code generation to their own applications, although it also includes a command-line tool for creating codes without writing software.

Unlike utilities that concentrate on exporting ready-made images, the library can return the QR symbol as a bitmap array. Applications can use this data to render QR codes through their own interface, display system or printing facilities.

The library implements QR Code Model 2 and supports several encoding modes. It can select an efficient representation for the supplied text and handle messages split across multiple related symbols. Micro QR Code support is also available, although upstream describes that capability as experimental.

This is free and open source software.

Key Features

  • Provide a C library for encoding data into QR code symbols.
  • Return encoded QR codes as bitmap arrays for use by other applications.
  • Support QR Code Model 2 symbols.
  • Encode numeric, alphanumeric, byte and Japanese Kanji data.
  • Optimise the encoding mode used for suitable input strings.
  • Accept a complete string or a collection of data chunks as input.
  • Support structured append for messages spread across several QR codes.
  • Include experimental support for Micro QR Codes.
  • Offer configurable error correction levels.
  • Include the qrencode command-line utility for generating QR code images.
  • Create QR symbols for use in terminal scripts and automated workflows.
  • Provide a library API for controlling symbol generation from C applications.
  • Use a compact library design without additional runtime library dependencies.
  • Allow the command-line utility to use PNG output through libpng.
  • Provide documentation of the library API and encoding facilities.

Website: fukuchi.org/works/qrencode
Support:
Developer: Kentaro Fukuchi
License: GNU Lesser General Public License v2.1

libqrencode is written in C. Learn C with our recommended free books and free tutorials.


Related Software

QR Tools
ZintBarcode generating solution
CoBangQR code and barcode scanner
QreatorEasily create your own QR codes
DecoderFancy yet simple QR Codes scanner and generator
qrtoolEncode and decode QR code
QRabQR code reader
qr-backupPaper backup of files using QR codes
QR ScanGenQR code scanner and generator
QR ScannerQR scanner/generator app
libqrencodeEncoding data in a QR Code symbol
ClipQRScan QR codes on screen and from camera
QrcaQR code scanner for Plasma Mobile
qr-rsEncode URLs or text into QR codes
segnoPython library and CLI tool for generating QR Codes and Micro QR Codes
AR TagMinimalist image editor

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our carefully curated directory of recommended free and open source software, covering every major software category.

The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more.

Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted