We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Can I convert a PDF to TIFF format

I need to convert pdf files to TIFF format.

Here is what I tried.

String dataDir = “input/”;

com.aspose.pdf.Document doc = new com.aspose.pdf.Document(dataDir + “pdffile.pdf”);
String outDir = dataDir + “output/”;

doc.save(outDir + “FromPDF.tiff”);

The converted file doesn’t have any valid data.

Hi Tashani,

Thanks for your inquiry. You need to use TiffDevice class for PDF to TIFF conversion. Please check following documentation link for the purpose. Hopefully it will help you to accomplish the task.

Please feel free to contact us for any further assistance.

Best Regards,

Thank You. It wroked perfectly

Hi Tashani,

Thanks for your feedback. It is good to know that you have managed to accomplish the requirement.

Please keep using our API and feel free to ask any question and concern. We will be more than happy to extend our support.

Best Regards,