Not reading all Code128 Barcodes

In the attached document we are not reading all barcodes. What we are reading is:

Barcode found: BA0693955^ILDSR ^RB^04/09/12 MILLER DISTRIBUTING LLC ^ - on page 1
Barcode found: BA0693955^CADEC ^RB^04/09/12 MILLER DISTRIBUTING LLC ^ - on page 2
Barcode found: BA0693955^BA4BATCH^RB^12-13^ - on page 5
Barcode found: BA0693955^BA1322 ^RB^12-13^ - on page 8
Barcode found: BA0693955^CMDS02 ^RB^04/09/12 MILLER DISTRIBUTING LLC ^ - on page 10
Barcode found: BA0693955^IMSCH ^RB^12-13^ - on page 11
Barcode found: BA0693955^NBABATCH^RB^12-13^ - on page 12
Barcode found: '? - on page 13
Barcode found: '? - on page 20
Barcode found: BA0693955^MCS90 ^RB^12-13^ - on page 24

The barcodes that should have been read are:

Barcode found: BA0693955^ILDSR ^RB^04/09/12 MILLER DISTRIBUTING LLC ^ - on page 1
Barcode found: BA0693955^CADEC ^RB^04/09/12 MILLER DISTRIBUTING LLC ^ - on page 2
Barcode found: BA0693955^BA4BATCH^RB^12-13^ - on page 5
Barcode found: BA0693955^BA1322 ^RB^12-13^ - on page 8
Barcode found: BA0693955^CMDS02 ^RB^04/09/12 MILLER DISTRIBUTING LLC ^ - on page 10
Barcode found: BA0693955^IMSCH ^RB^12-13^ - on page 11
Barcode found: BA0693955^NBABATCH^RB^12-13^ - on page 12
Barcode found: BA0693955^NBCBATCH^RB^12-13^ - on page 22
Barcode found: BA0693955^MCS90 ^RB^12-13^ - on page 24

The barcode on page 22 is not being read.

The following is the code that I am using

Document pdfDocument = new Document(filename);
int pageCount = pdfDocument.Pages.Count;

for (var page = 1; page <= pageCount; page++)
{
Aspose.Pdf.Facades.PdfConverter converter = new Aspose.Pdf.Facades.PdfConverter();
converter.BindPdf(filename);
converter.RenderingOptions.BarcodeOptimization = true;
converter.StartPage = page;
converter.EndPage = page;
converter.Resolution = new Aspose.Pdf.Devices.Resolution(300);
converter.DoConvert();

MemoryStream stream = new MemoryStream();
converter.GetNextImage(stream, ImageFormat.Png);
using (BarCodeReader barcodeReader = new BarCodeReader(stream, BarcodeData.BarcodeSymbology))
{
if (BarcodeData.VerifyChecksum)
barcodeReader.ChecksumValidation = BarcodeData.ChecksumValidate;

while (barcodeReader.Read())
{
barcodesByPage = new AsposeBarcodesByPage();
barcodesByPage.Barcode = barcodeReader.GetCodeText();
barcodesByPage.Page = page;
barcodesColl.Add(barcodesByPage);
}
}
converter.Close();
converter.Dispose();
}

Hi Mike,


Thank you for your inquiry. We’re working over your query and will get back to you shortly.

Hi Mike,


Thank you for being patient. I’ve tested your sample PDF document against the latest builds of Aspose.BarCode 6.2.0 and Aspose.Pdf 9.2.1. I managed to replicate the problem of recognition failure. I’ve logged this issue under ticket id BARCODENET-33901 in our issue tracking system. Your request has also been linked to this issue. We’ll let you know once a significant progress has been made in this regard. We’re sorry for your inconvenience.

Hi Mike,


Thank you for being patient. We have a good news for you that the issue id BARCODENET-33901 has now been resolved. If there is no issue in the QA phase, then its fix will be included in the next version of Aspose.BarCode for .NET 7.0.0. We’ll inform you via this forum thread as soon as the new release is published.

The issues you have found earlier (filed as BARCODENET-33901) have been fixed in Aspose.BarCode for .NET 7.0.0.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.

The issues you have found earlier (filed as ) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan