Unable to read DATAMATRIX barcode from tiff file

Hi, Unable to read DATAMATRIX and 1D barcode from the tif file.

Images are attached. Please help us to resolve it.



Thanks and Regards,
Palanivelu R

Hi Palanivelu,


Thank you for contacting support. The latest version of Aspose.BarCode for Java 6.9.0 can read all DataMatrix codes perfectly from both of your provided barcode pictures. Please use this sample code:

[Java]
BarCodeReader reader = new BarCodeReader(“C:\temp\page_6.1.tif”, BarCodeReadType.DataMatrix);

while (reader.read())
{

System.
out.println("Code: " + reader.getCodeText() + " Type: " + reader.getReadType());
}

reader.close();

However, could you please provide us some other details of 1D code? For example, its type and the exact code text which you’re expecting from it. It’ll help us to investigate it further in details.

We’re looking forward to help you.