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;
}