Issues while gnerating the ITF (interleaved) barcode

Feb 19, 2016 at 5: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;}
Coordinator
May 9, 2016 at 9:01 PM
What content did you try to encode?