Hi,
Hi Mariusz,
Attached. Does Aspose.PDF requires JAI?
I added jai_core.jar and jai_codec.jar into the classpath (v.1.1.3) and now it fails with a different exception.
Finally I added jai_core.jar, jai_codec.jar and jai_imageio.jar into the classpath and there is no more issue, but the produced PDF is corrupted. Check the attached files.
There is actually some internal exception in the log during the TIFF conversion:
More finding!
mariuszpala:
mariuszpala:
I think you are using the component in trial mode. When using the product in trial mode, there is a limitation of converting specific frames of TIFF image. You may consider requesting a 30 days temporary license to test our component without any limitations. For further details, please visit Get a temporary license mariuszpala:
I’m not using the trial version, We have licences for all your products. And even with JAI and all the code you mentioned it doesn’t work. See my previous comments. Anyway, because this product seems to be very unstable and unreliable we decided to use iText and ImageMagick instead. Aspose.Words and Aspose.Cells handle the conversion to PDF very well. With Aspose.Slides we have strange issues, but with Aspose.Pdf we already got 10 different exceptions and no answer what to do with them
Hi,
mariuszpala:
I need to convert a TIFF image into PDF. I found some example how to do that, but in the end I get the exception below. Can you help me solving that issue?Exception:java.util.NoSuchElementExceptionat javax.imageio.spi.FilterIterator.next(ServiceRegistry.java:808)at javax.imageio.ImageIO$ImageReaderIterator.next(ImageIO.java:502)at javax.imageio.ImageIO$ImageReaderIterator.next(ImageIO.java:487)at aspose.pdf.figure.Bitmap.readFrames(Unknown Source)at aspose.pdf.figure.Bitmap.a(Unknown Source)at aspose.pdf.figure.Bitmap.(Unknown Source)at aspose.pdf.xml.ImageBase.a(Unknown Source)at aspose.pdf.xml.ImageGenerator.processImage(Unknown Source)at aspose.pdf.xml.SectionGenerator.processSection(Unknown Source)at aspose.pdf.xml.DocumentBase.a(Unknown Source)at aspose.pdf.xml.GeneratorXml.generateDocument(Unknown Source)at aspose.pdf.Pdf.save(Unknown Source)Hi Mariusz,Thanks for your patience.I have tested the scenario and I am able to
notice the above stated problem. For the sake of correction, I have logged this issue
as PDFNEWJAVA-33706 in our issue tracking system. We will
further look into the details of this problem and will keep you updated on the
status of correction. Please be patient and spare us little time. We are sorry
for this inconvenience.
Hi Mariusz,