This project has moved and is read-only. For the latest updates, please go here.

Issues while gnerating the ITF (interleaved) barcode

Feb 19, 2016 at 6:40 AM
i am able to generateQR code with out any issues. however if i use interleaved barcode format, i am getting the following error "The lenght of the input should be even";
For me it looks like no other barcode format except QR code is not working. please help at your earliest.

public Bitmap GenerateQR(int width, int height, string text){ var bw = new ZXing.BarcodeWriter(); var encOptions = new ZXing.Common.EncodingOptions() { Width = width, Height = height, Margin = 0 }; bw.Options = encOptions; bw.Format = ZXing.BarcodeFormat.ITF; var result = new Bitmap(bw.Write(text)); return result;}
May 9, 2016 at 10:01 PM
What content did you try to encode?