Exception convert tif to pdf

I have tried all the way supplied by the doc of Aspose.Pdf for Java ,but I always got exception

1.
Convert TIFF frames to JPEG compression and transform to PDF

I got
Exception in thread “main” java.util.NoSuchElementException
at 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)

2.
How to Convert an Image to PDF

Exception in thread “main” java.lang.RuntimeException: This picture is not supported!
at aspose.pdf.c.Abi.a(SourceFile:156)
at aspose.pdf.c.Aba.a(SourceFile:152)
at aspose.pdf.c.Aba.a(SourceFile:99)
at aspose.pdf.xml.Abi.a(SourceFile:208)
at aspose.pdf.xml.Abi.a(SourceFile:669)
at aspose.pdf.xml.Abj.a(SourceFile:578)
at aspose.pdf.xml.Acd.a(SourceFile:804)
at aspose.pdf.xml.Aar.a(SourceFile:104)
at aspose.pdf.xml.Aba.a(SourceFile:113)
at aspose.pdf.Pdf.save(SourceFile:929)

3.
Performance Improvement while converting TIFF to PDF

Exception in thread “main” java.util.NoSuchElementException
at 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.c.Aab.a(SourceFile:218)
at aspose.pdf.c.Aab.b(SourceFile:131)
at aspose.pdf.c.Aab.(SourceFile:274)
at aspose.pdf.xml.Abi.a(SourceFile:643)
at aspose.pdf.xml.Abj.a(SourceFile:578)
at aspose.pdf.xml.Acd.a(SourceFile:804)
at aspose.pdf.xml.Aar.a(SourceFile:104)
at aspose.pdf.xml.Aba.a(SourceFile:113)
at aspose.pdf.Pdf.save(SourceFile:929)

I have tried
Aspose.Pdf for Java 3.3.0 and 3.2.0

Hi,


Can you please share some sample PDF files causing this issue so that we can test the scenario at our end. We are really sorry for this inconvenience.

Pls recieve the tif sample file,tks

Hi,


Thanks for sharing the resource file.

<span style=“font-size:10.0pt;font-family:“Arial”,“sans-serif””>I
have tested the scenario and I am able to reproduce the same problem. For the
sake of correction, I have logged it in our issue tracking system as PDFJAVA-33195. We
will investigate this issue in details and will keep you updated on the status
of a correction. <o:p></o:p>

We apologize for your inconvenience.