Convert PDF to TIFF in Python
Import PDF pages and save them as a multipage TIFF image with a cross-platform Python library
Convert PDF to TIFF in Python
Aspose.Slides for Python via .NET
lets you convert PDF files to multipage TIFF images programmatically. The API imports each PDF page as a slide with SlideCollection.add_from_pdf, then writes all slides to a TIFF file with Presentation.save.
The conversion requires no Microsoft PowerPoint, Adobe Acrobat, or other presentation software. Each imported PDF page becomes one frame in the resulting TIFF image.
Convert PDF to TIFF using Python
Create a Presentation, remove its default blank slide, import the PDF pages with SlideCollection.add_from_pdf, and save the result with SaveFormat.TIFF.
Python code for converting PDF into TIFF
with slides.Presentation() as presentation:
presentation.slides.remove_at(0)
presentation.slides.add_from_pdf("document.pdf")
presentation.save("document.tiff", slides.export.SaveFormat.TIFF)
How to Convert PDF to TIFF Using Aspose.Slides for Python
These are the steps to convert PDF to TIFF in Python.
Install Aspose.Slides for Python via .NET .
Create a
Presentationand remove its default blank slide.Import the source PDF by using
SlideCollection.add_from_pdf.Save the presentation by using
Presentation.savewithSaveFormat.TIFF.
Convert PDF to Other Supported Formats
You can also convert PDF and save it in other file formats. See the supported formats below: