I do have the problem that the barcode decoding does not work properly.
I am using the following code to decode:
options = new ZXing.QrCode.QrCodeEncodingOptions
Height = 130,
Width = 130
var writer = new BarcodeWriter
Format = BarcodeFormat.QR_CODE,
Options = options
No I print that code on a dymo label printer or inkjet printer and glue it on a document.
If I scan that document now, with 200/300 dpi and grayscale the encoding does not work properly.
It is working in 50% of all cases.
I decode in the following way:
Bitmap Picture = null;
BarcodeReader reader = new BarcodeReader();
Result results = reader.DecodeMultiple(Picture);
// do something with the result
if (results != null)
foreach (ZXing.Result singleBarcode in results)
//finding a valid Barcode
return singleBarcode.Text.Remove(0, strIDStart.Length);
What could be the reason for that problem?
Thanks for your help.