My requirement is to scan a QR code from an scanned image. I am using ZXing dll for that. The scanned images are in PNG format and 3 to 5 MB in size. I am using images of a same document. But Zxing decode method scans qr code for one image and fails for other. Could anyone able to fix this.
My code is as below
Bitmap bitmap = new Bitmap(path);
BarcodeReader reader = new BarcodeReader { AutoRotate = true, TryHarder = true };
Result result = reader.Decode(bitmap);
string decodedData = result.Text;
It seems like issue is with scanned image.