If you need to include the generation of QR barcode images in your Delphi application, you might want to take a look at open source “DelphiZXingQRCode” – a Delphi port of the QR Code functionality in ZXing, an open source barcode image processing library.
DelphiZXingQRCode is a Delphi port of the QR Code functionality in ZXing, an open source barcode image processing library. DelphiZXingQRCode is a single-unit implementation you simply add to your (new or) existing project, set a few properties and paint the image.
It supports Windows platform only, using Delphi compiler.
DelphiZXingQRCode (for the moment) supports auto, numeric, alphanumeric, ISO-8859-1, UTF-8 without Bom and UTF-8 with Bom encoding.
The format information records two things: the error correction level and the mask pattern used for the symbol. Masking is used to break up patterns in the data area that might confuse a scanner, such as large blank areas or misleading features that look like the locator marks.
The mask patterns are defined on a grid that is repeated as necessary to cover the whole symbol. Modules corresponding to the dark areas of the mask are inverted. The format information is protected from errors with a BCH code, and two complete copies are included in each QR symbol.
This is an open source barcode image processing library, which is basically generating qr code from inserted test. The port retains the original Apache License (v2.0).
The DelphiZXingQRCode library is completely free. It comes with source code and Demo app to test it.
If you were looking for a good and stable tool to process text into qr code, this library is the best choice.
Go ahead and check out the full source code and download the DelphiZXingQRCode library from the link below:
https://github.com/foxitsoftware/DelphiZXingQRCode
Design. Code. Compile. Deploy.
Start Free Trial Upgrade Today
Free Delphi Community Edition Free C++Builder Community Edition
Full consent,library is very helpfull
Can i use this to generate EPC QR code?
Invoice payment QR.
Unfortunately it doesn’t look like it can do that. You can encode the EPC data yourself if you know the format and then it will render the QR code but it has no methods or properties to generate it automatically.
How print QR Code?
Thank!
It’s an image, so you can print it in the same way you print anything from a FireMonkey app. Here’s an article on it: https://docwiki.embarcadero.com/CodeExamples/Sydney/en/FMXPrinting_(Delphi)
how to save it to file without draw it to TPaintBox….?
Assuming you have it stored in a bitmap called QRCodeBitmap the following will work:
QRCodeBitmap.SaveToFile(thefilename);