-
-
Notifications
You must be signed in to change notification settings - Fork 698
Open
Description
I have no idea what i'm doing wrong, but regardless of what bindings i use (ImageSharp, Skia, etc) ZXing cannot pickup just a basic CODE 128 barcode.
Here is the image:
Here is the code that I have tried using ZXing.Net.Bindings.Windows.Compatibility:
using System.Drawing;
using ZXing.Windows.Compatibility;
var reader = new BarcodeReader { Options = { TryHarder = true } };
var barcodeBitmap = (Bitmap)Image.FromFile(@"test.jpg");
var result = reader.Decode(barcodeBitmap); //result is always null
I'm sure that this is just something I'm doing wrong, but I cant see why it cant detect what I believe is a very clear picture of a barcode.
Metadata
Metadata
Assignees
Labels
No labels
