Conversion from tiff to pdf

Hi Team,

My requirement is to convert tiff to pdf conversion.

please kindly help me to resolve the issue.

Thanks and regards,
priyanga G

@priyanga,

Thanks for your inquiry. Please refer to the following article. The code example in this article shows how to convert Tiff image to PDF.
Convert an Image to PDF

@priyanga,

You may use Aspose.Pdf to convert TIFF to PDF using following code example. Hope this helps you.

Document pdf = new Document();
 // Create a section in the Pdf object
 Page sec = pdf.getPages().add();
 // Create an image object in the section
 com.aspose.pdf.Image img = new com.aspose.pdf.Image();
 // Add image object into the Paragraphs collection of the section
 sec.getParagraphs().add(img);
 // Set the path of image file
 img.setFile(myDir + "test.tiff");
 img.setInNewPage(true);
 // Save the Pdf
 pdf.save(myDir + "TIFFConversion_image_toPDF.pdf");