QRCode Namespace
Description
QRCode Generation class - create QRCode images from text.
About Error Correction
When you generate a QR Code, you have an option for specifying the level of Error Correction. Error correction refers to how much physical damage a QR Code can sustain before it is no longer readable. QR Codes, for example, created with low ("L") error correction are readable until more than 7% of the QR Code is damaged, dirtied, or obscured in some fashion. QR Codes with the highest ("H") error correction can sustain up to 30% damage and still be readable.
There are four error correction options available when generating a QR Code:
- Level
- Tolerance
- L
Up to 7% damage
- M
Up to 15% damage
- Q
Up to 25% damage
- H
Up to 30% damage
QR codes with high correction levels store less information per area than QR Codes with low correction levels. If error correction is not important - eg, if you're only displaying QR Codes on a web page - then a low correction value is sufficient (L or M.) If you are, however, printing something such as shipping labels that will be sent through the postal system with no protection, use a high correction level (Q or H.)
Methods
- GenerateBmp Method
Return a blob containing the contents of a windows .BMP formatted QRCode image.
- GenerateBmpFile Method
Return a blob containing the contents of a windows .BMP formatted QRCode image.
- GenerateJpeg Method
Return a blob containing the contents of a .JPEG formatted QRCode image.
- GenerateJPegFile Method
Create a .JPEG file containing a QRCode image.
- GeneratePng Method
GeneratePng returns a blob containing the contents of a .PNG formatted QRCode image.
- GeneratePngFile Method
GeneratePngFile creates a .PNG file containing a QRCode image.
- GenerateRTF Method
GenerateRTF creates an embedded QRCode image for an RTF file.
- GenerateSVG Method
GenerateSVG creates a QRCode as an SVG image.