The library cannot recognize the barcode in the attached scan


Hello. The library cannot recognize the barcode in the attached scan tverplk21-2019-05-28T154505 0001.jpg (504.8 KB). The resource successfully recognizes %116%1930041. Library version Aspose.BarCode 19.2.0. Code example:

var result = new List<string>();
        using (var stream = new MemoryStream(content))
            using (var reader = new BarCodeReader(stream))
                if (!reader.IsLicensed)
                    throw new ApplicationException("Aspose not licensed");

                reader.Timeout = (int)TimeSpan.FromSeconds(60).TotalMilliseconds;
                while (reader.Read())
                    var code = reader.GetCodeText();
                    if (!string.IsNullOrEmpty(code))

        return result.ToArray();



Thanks for the sample code and image file.

I tested your scenario/ case using your sample code with your sample image file using v19.5 (latest version), it works partially. Here are the two barcode text it retrieves:

It looks like the first one is not correct. Do you see the same issue? We will log a ticket after your confirmation.


Yes, barcodes are recognized as you specified.



Thanks for your confirmation.

As we managed to reproduce the issue as you mentioned using your sample code and with image file, I have logged a ticket with an id “BARCODENET-37223” for your issue. We will look into it soon.

Once we have an update on it, we will let you know.



We are pleased to inform you that your issue (logged earlier as “BARCODENET-37223”) has bee resolved. We will soon share the Download link to the fixed version/latest release for your requirement.


Thank you very much for the prompt solution of the problem.



You are welcome.


The issues you have found earlier (BARCODENET-37223) have been fixed in Aspose.BarCode for .NET 19.6.