Merge PPS Files and Export to TIFF in Python

Combine PowerPoint Slide Show files and render the merged slides as a multipage TIFF image with a cross-platform Python API

Merge PPS to TIFF in Python

Aspose.Slides for Python via .NET lets you merge PowerPoint Slide Show (PPS) files by cloning slides from one Presentation into another. After combining the slides with SlideCollection.add_clone, call Presentation.save with SaveFormat.TIFF to render them as a multipage TIFF file.

Merge PPS Files to TIFF Using Python

Open the destination and source PPS files, append a clone of each source slide, and export the merged presentation as a multipage TIFF image.

Python code for merging PPS files and exporting the result to TIFF

with slides.Presentation("destination.pps") as destination_presentation:
    with slides.Presentation("source.pps") as source_presentation:
        for source_slide in source_presentation.slides:
            destination_presentation.slides.add_clone(source_slide)

    destination_presentation.save("merged_presentation.tiff", slides.export.SaveFormat.TIFF)

How to Merge PPS Files and Export to TIFF with Aspose.Slides for Python

Follow these steps to merge two PPS files and export the combined slides as a single TIFF file.

  1. Install Aspose.Slides for Python via .NET by following the installation guide .

    pip install aspose-slides
    

  2. Make the aspose.slides namespace available in your Python project.

  3. Open the destination and source PPS files as Presentation instances.

  4. Iterate through the source slides and call SlideCollection.add_clone for each slide.

  5. Call Presentation.save with SaveFormat.TIFF to render the merged slides as a multipage TIFF file.