Libqrencode is a C library for encoding data in a QR Code symbol, a kind of 2D symbology that can be scanned by handy terminals such as a mobile phone with CCD. The capacity of QR Code is up to 7000 digits or 4000 characters, and is highly robustness.
Libqrencode supports QR Code model 2, described in JIS (Japanese Industrial Standards) X0510:2004 or ISO/IEC 18004. Currently the following features are not supported:
- ECI and FNC1 mode
- Structured Append Feature
- Micro QR Code
- QR Code model 1
- Some test programs or utility tools requires SDL or PNG, but the library itself has no dependencies. You can skip compiling those tools when if you want not to install programs using SDL or PNG. If you are trying to compile this library on MS-Windows, cygwin or some kinds of UNIX-like environments will be needed.
Compile & install:
This compiles and installs the library and header file to the appropriate directories. By default, /usr/local/lib and /usr/local/include. You can change the destination directory by passing some options to the configure script. Run ./configure --help to see the list of options.
It also installs a binary "qrencode" to /usr/local/bin. If you want not to install it, give --without-tools option to the configure script.
Basic usages of this library are written in the header file (qrencode.h). You can generate a manual of the library by using Doxygen.
What's New in This Release: [ read full changelog ]
· Micro QR Code encoder had a bug that caused incorrect output (issue #25).
· Now the bug has been fixed.
· A memory leak bug (#24) and insufficient string splitting bug have been fixed.