Hi ,
Need to read BarCodes from TIFF image files , looks like we have direct processing methods for PDF and Word files. Can you please help us with reading the TIFF files?
Hi ,
Need to read BarCodes from TIFF image files , looks like we have direct processing methods for PDF and Word files. Can you please help us with reading the TIFF files?
Hi Arun,
Thank you for considering Aspose.
In order to work with Tiff image format, you need to use JAI library in collaboration with Aspose.BarCode for Java. Please check the below linked technical article for your reference,
In case you have further question, please feel free to write back.
Hi Babar,
Thanks for the Assistance !
Did try the post earlier , the issue was with the below line:
readers = javax.imageio.ImageIO.getImageReadersBySuffix("tiff");
There were no readers for suffix tiff.(but there are readers available for bmp, png etc) Did have the following jars downloaded and added them to build path of project. Please let me know if we need to have any other jars.
jai_codec-1.1.3-alpha.jar
jai_core.jar
jai_imageio.jar
Hi Arun,
Hi Babar,
Thanks for sharing hte project .
Did try with the new project and with new set of jars , looks like still the same issue.
readers = javax.imageio.ImageIO.getImageReadersBySuffix("tiff");
There were no readers for suffix tiff.(but there are readers available for bmp, png etc) .
So basically it is not able to get any readers for "tiff" files but it s able to get readers for other formats like bmp,png,jpeg files etc.
Can you please help us on this?
Regards,
Vetri.
Hi Verti,
Hi Babar,
Thanks for your assistance.. we have it working fine right now.
Also i came up with another issue when using the Aspose jars along with log4j. Was getting an exception like:
Exception in thread "main" java.lang.NoClassDefFoundError: org/testng/Assert
But the issue was sorted out by using another jar testng-4.4.7-jdk15.jar . I went through some other posts in Aspose came to know that this was an issue and fix packs were released later.
So just wanted to know if the above is a trusted solution or there was any fix pack or any other jars were released to overcome the above issue when using Aspose with Log4j.
Regards,
Vetri.
Hi Verti,