BarcodeRenderingFramework icon indicating copy to clipboard operation
BarcodeRenderingFramework copied to clipboard

Issue generating QR code with long string

Open tiny2tom opened this issue 7 years ago • 1 comments

I am getting the following error when trying to pass strings of character length 123 or above. The QR is rendered fine otherwise.

Index was outside the bounds of the array. at Zen.Barcode.CodeQrBarcodeDraw.QRCodeEncoder.divideDataBy8Bits(Int32[] data, SByte[] bits, Int32 maxDataCodewords) at Zen.Barcode.CodeQrBarcodeDraw.QRCodeEncoder.CalculateQrCode(Byte[] qrcodeData) at Zen.Barcode.CodeQrBarcodeDraw.QRCodeEncoder.Encode(String content, Encoding encoding) at Zen.Barcode.CodeQrBarcodeDraw.QRCodeEncoder.Encode(String content) at Zen.Barcode.CodeQrBarcodeDraw.DrawQr(String text, BarcodeMetricsQr metrics) at Zen.Barcode.CodeQrBarcodeDraw.Draw(String text, BarcodeMetrics metrics)

tiny2tom avatar Nov 27 '18 11:11 tiny2tom

Any update?

edmaarcosta avatar Jun 13 '19 13:06 edmaarcosta