Barcode is not reading from the image

images.zip (19.9 KB)
Hi
We recently upgraded our application image’s resolution to 300 DPI. After that some image’s barcode is not reading by the Aspose.BarCodeReader. Sample images attached.
We have checked with vesrions: 5.7, 6.3, 18.8
We are using the below code:
private List ReadBarcodeFromImageUsingAspose(IFOImage image)
{
List readbarcodes = new List();
string FullImageName = image[“ImageName”].Trim();

        if (FullImageName == null || FullImageName.Trim() == string.Empty)
            throw new Exception("IFO Line With No ImageName Attribute Found.");
        if (!System.IO.File.Exists(FullImageName))
            throw new Exception("Image Not Found At Path '" + FullImageName + "'.");

        try
        {
            using (BarCodeReader reader = new BarCodeReader(FullImageName, BarCodeReadType.Code39Standard))
            {
                while (reader.Read())
                {
                    string bc = reader.GetCodeText().ToString();
                    readbarcodes.Add(bc);
                }
            }
        }

        catch (Exception ex)
        {
            throw new Exception(ex.Message);
        }

        return readbarcodes;
    }

@anishvj,

Thanks for the barcode images.

Please try our latest version or upgrade to newer versions Aspose.BarCode for .NET v22.6 (Download | NuGet). I have tested using your image files with recent version and it works fine to read the barcodes and I do not find any issue.