micjahn / ZXing.Net

.Net port of the original java-based barcode reader and generator library zxing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

0.16.6 vs 0.16.9

mey1k opened this issue · comments

issue :

  For some image,
  It is decoded in 0.16.6, but not in 0.16.9.
  Why is that?

 I think it's because of the black-and-white reversal, is it correct?

code :

    ZXing.IBarcodeReader zxing_reader = new BarcodeReader()
    {
        AutoRotate = true,
        TryInverted = true,
        Options = new ZXing.Common.DecodingOptions()
        {
            TryHarder = true,
            ReturnCodabarStartEnd = true,
            PureBarcode = false,
            PossibleFormats = new List<BarcodeFormat>()
            {
                BarcodeFormat.DATA_MATRIX
            }
        }
    };

Do you have a sample image?