Free Support Forum -

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:

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

while (

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


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.