Skip to content
Delphi/Lazarus port of QR Code functionality from ZXing, a barcode image processing library. The support for non-standard encodings has been added
Branch: master
Clone or download
Latest commit 1f54ba4 Jan 21, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Source Fix alphanumeric bug Jan 20, 2016
TestApp The test app has been re-compiled to fix the alphanumeric bug (thanks… Jan 21, 2016
.gitattributes Initial commit Dec 17, 2014
.gitignore
CHANGELOG-RUS.md Readme and changelog have been upgraded Dec 24, 2014
CHANGELOG.md Readme and changelog have been upgraded Dec 24, 2014
LICENSE.md Initial commit Dec 17, 2014
README-RUS.md Readme and changelog have been upgraded Dec 24, 2014
README.md Readme and changelog have been upgraded Dec 24, 2014

README.md

DelphiZXingQRCodeEx

DelphiZXingQRCodeEx is a Delphi port of the QR Code functionality from ZXing, an open source barcode image processing library.

The code was initially ported to Delphi by Senior Debenu Developer, Kevin Newman (project DelphiZXingQRCode, see links below). Then it was changed by Michael Demidov. The changes are listed in CHANGELOG.md.

The most fundamental differences are:

  1. Error correction level has been fixed.
  2. Support for programmer-defined charsets. As an example, I implemented Win-1251 Russian charset and URL encoding (when non-Latin characters are represented as %-codes).
  3. Exception handling has been added. There is no more Access Violation when input string is too long.
  4. New QRGraphics.pas unit has been added that contains several functions to draw the QR Code on a given canvas (TCanvas) and to generate either a bitmap or a metafile.
  5. Still compatible with older versions of Delphi (at least Delphi 7). Compatible with Lazarus (1.2.6, for Windows), see CHANGELOG.md (section 5).

The port retains the original Apache License (v2.0).

Links

  1. Original DelphiZXingQRCode project
  2. Debenu site
  3. GitHub Mirror
  4. ZXing
  5. Google Code
  6. GitHub
  7. Michael Demidov's blog (in Russian only, sorry)

Software Requirements

Delphi 7 or newer (I tested with Delphi 7 and XE3).

Getting Started

A sample Delphi project is provided in the TestApp folder to demonstrate how to use DelphiZXingQRCode.

You can’t perform that action at this time.