Free Support Forum - aspose.com

Aspose.Barcode QR Binary

Hi

Is it possible to use the Aspose.Barcode library to encode binary data to a QR barcode? QR barcodes are able to represent max. 2,953 bytes of binary, but I cannot see any mention of how to to this using Aspose.Barcode.

Regards,

Gareth

Hi Gareth,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thank you for considering Aspose.BarCode!

Aspose.BarCode supports encoding binary data (8-bit byte data) into QR barcode. The BarCodeBuilder will select the appropriate mode of QR and encode the data, that is, you just need to specify the binary data to the CodeText property and set the SymbologyType to QR, and the BarCodeBuilder will encode the data in 8-bit byte data mode automatically.

Conforming to the specification, Aspose.BarCode supports encoding max length of bytes to QR barcode is 2953 (version 40, 177 * 177 modules), please note that this length is in L error correction level.

Thanks