Convert PPTM to Multipage TIFF in Python

Render a macro-enabled PowerPoint presentation as a multipage TIFF image with Aspose.Slides for Python via Java.

Convert PPTM to TIFF in Python

Aspose.Slides for Python via Java can load a macro-enabled PowerPoint presentation (.pptm) and render its slides as pages in a single multipage TIFF (.tiff) image. The TIFF contains static slide images and does not include the PPTM file’s VBA project or interactive slide-show behavior. Microsoft PowerPoint is not required.

Convert PPTM to TIFF using Python

Create a Presentation from the PPTM file, then call save with SaveFormat.Tiff.

Python code for converting PPTM to TIFF

presentation = Presentation("presentation.pptm")
try:
    presentation.save("presentation.tiff", SaveFormat.Tiff)
finally:
    presentation.dispose()

How to convert PPTM to TIFF in Python

Follow these steps to render a PowerPoint PPTM presentation as a multipage TIFF image.

  1. Install Aspose.Slides for Python via Java .

  2. Configure the package and start the Java Virtual Machine in your application.

  3. Open the source PPTM file with Presentation.

  4. Call save with SaveFormat.Tiff to create the multipage TIFF image.