Convert PDF to TIFF in Python
Import a PDF document and render its pages as a multipage TIFF image with Aspose.Slides for Python via Java.
Convert PDF to TIFF in Python
Aspose.Slides for Python via Java can import PDF pages as slides and render the resulting presentation as a multipage TIFF image. The conversion does not require Microsoft PowerPoint or a PDF viewer.
Convert PDF to TIFF using Python
Create an empty Presentation, remove its default slide, and call addFromPdf to import the PDF pages. Then call save with SaveFormat.Tiff to create the multipage TIFF image.
Python code for converting PDF to TIFF
presentation = Presentation()
try:
presentation.getSlides().removeAt(0)
presentation.getSlides().addFromPdf("document.pdf")
presentation.save("document.tiff", SaveFormat.Tiff)
finally:
presentation.dispose()
How to convert PDF to TIFF in Python
Follow these steps to import a PDF document and render its pages as a multipage TIFF image.
Install Aspose.Slides for Python via Java .
Configure the package and start the Java Virtual Machine in your application.
Import the PDF pages by calling
addFromPdfon the presentation’s slide collection.Call
savewithSaveFormat.Tiffto create the multipage TIFF image.
Convert PDF to Other Supported Formats
You can also convert PDF documents to other supported file formats.