Although your barcode image quality is poor. Anyways, I have tested your scenario/case and I was able to reproduce the issue in HighQuality setting/mode by using the following sample code with your barcode image.
var bmp1 = "e:\\test2\\barcode_and_background_rasterized_alt.png.trimmed.png";
using (Aspose.BarCode.BarCodeRecognition.BarCodeReader reader1 = new Aspose.BarCode.BarCodeRecognition.BarCodeReader(bmp1, Aspose.BarCode.BarCodeRecognition.DecodeType.AllSupportedTypes))
{
reader1.QualitySettings = Aspose.BarCode.BarCodeRecognition.QualitySettings.HighQuality;
Console.WriteLine(reader1.ReadBarCodes().Length);
foreach (Aspose.BarCode.BarCodeRecognition.BarCodeResult result1 in reader1.ReadBarCodes())
{
// Read symbology type and code text
Console.WriteLine("Symbology Type: " + result1.CodeType);
Console.WriteLine("CodeText: " + result1.CodeText);
}
}
We require thorough evaluation of the issue. We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): BARCODENET-39093
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
We apologize, but your issue has not been resolved yet. We will provide you with an update as soon as we have one. We will also check if we can provide you with an estimated time of resolution.
At this time we are working on huge 1D recognition improvements. First stage will be released in 24.11 (November) or 24.12 (December). However, I think, it will be realized in 24.11.
We are pleased to inform you that your issue (Ticket ID: “BARCODENET-39093”) has been resolved now. The fix/enhancement will be incorporated in the forthcoming release (Aspose.BarCode v24.12), scheduled for the second half of December 2024. Please stay tuned!