# Convert PPSM to BMP in Python

> Convert PPSM slide shows to BMP images in Python. Use the Aspose.Slides Python API to render each slide as a separate BMP file.

Source: https://products.aspose.com/slides/python-net/conversion/ppsm-to-bmp/
Updated: 2026-08-11



## Convert PPSM to BMP in Python

[*Aspose.Slides for Python via .NET*](/slides/python-net/) lets you convert PPSM slide shows to BMP images programmatically. Load the slide show, render each slide with `Slide.get_image`, and save the resulting `IImage` object in BMP format.

The API preserves slide content and formatting during rendering. You can test the conversion in your [browser](https://products.aspose.app/slides/conversion/ppsm-to-bmp) or use the Python API to process slide shows in your application.

Install the library from [PyPI](https://pypi.org/project/aspose-slides/) by using the following command:

### Console/Terminal

```console
pip install aspose-slides
```

## How to Convert PPSM to BMP in Python

These are the steps to convert a PPSM file to BMP using Python.

Load the PPSM file into a `Presentation` instance.

Iterate through `Presentation.slides` and render each slide by using `Slide.get_image`.

Save each rendered image by using `IImage.save` with `ImageFormat.BMP`.

## System Requirements

Before running the Python conversion sample, make sure your environment meets these requirements.

- Microsoft Windows, macOS, or 64-bit Linux (see the [system requirements](https://docs.aspose.com/slides/python-net/system-requirements/)).
- Python 3.6 or later for this sample.
- Aspose.Slides for Python via .NET installed in your environment.

### This sample code shows how to convert PPSM to BMP in Python

```python
image_scale = 2

with slides.Presentation("presentation.ppsm") as presentation:
    for slide in presentation.slides:
        file_path = f"presentation_slide_{slide.slide_number}.bmp"
        with slide.get_image(image_scale, image_scale) as slide_image:
            slide_image.save(file_path, slides.ImageFormat.BMP)
```

## Save PPSM as BMP in Python

Use the [free online app](https://products.aspose.app/slides/conversion/ppsm-to-bmp) to see the PPSM-to-BMP conversion process in action.

## Other Supported Conversions

- [PPSM TO EMF](/slides/python-net/conversion/ppsm-to-emf/) — Enhanced Metafile Format
- [PPSM TO FODP](/slides/python-net/conversion/ppsm-to-fodp/) — OpenDocument Flat XML Presentation
- [PPSM TO GIF](/slides/python-net/conversion/ppsm-to-gif/) — Graphics Interchange Format
- [PPSM TO HTML](/slides/python-net/conversion/ppsm-to-html/) — Hypertext Markup Language
- [PPSM TO JPG](/slides/python-net/conversion/ppsm-to-jpg/) — JPEG Image
- [PPSM TO ODP](/slides/python-net/conversion/ppsm-to-odp/) — OpenDocument Presentation Format
- [PPSM TO OTP](/slides/python-net/conversion/ppsm-to-otp/) — OpenDocument Presentation Template
- [PPSM TO PDF](/slides/python-net/conversion/ppsm-to-pdf/) — Portable Document Format
- [PPSM TO PNG](/slides/python-net/conversion/ppsm-to-png/) — Portable Network Graphics
- [PPSM TO POT](/slides/python-net/conversion/ppsm-to-pot/) — PowerPoint 97-2003 Template
- [PPSM TO POTM](/slides/python-net/conversion/ppsm-to-potm/) — PowerPoint Macro-Enabled Template
- [PPSM TO POTX](/slides/python-net/conversion/ppsm-to-potx/) — PowerPoint Open XML Template
- [PPSM TO PPS](/slides/python-net/conversion/ppsm-to-pps/) — PowerPoint 97-2003 Slide Show
- [PPSM TO PPSX](/slides/python-net/conversion/ppsm-to-ppsx/) — PowerPoint Open XML Slide Show
- [PPSM TO PPT](/slides/python-net/conversion/ppsm-to-ppt/) — PowerPoint 97-2003 Presentation
- [PPSM TO PPTM](/slides/python-net/conversion/ppsm-to-pptm/) — PowerPoint Macro-Enabled Presentation
- [PPSM TO PPTX](/slides/python-net/conversion/ppsm-to-pptx/) — PowerPoint Open XML Presentation
- [PPSM TO SVG](/slides/python-net/conversion/ppsm-to-svg/) — Scalable Vector Graphics
- [PPSM TO SWF](/slides/python-net/conversion/ppsm-to-swf/) — SWF Format
- [PPSM TO TIFF](/slides/python-net/conversion/ppsm-to-tiff/) — Tagged Image File Format
- [PPSM TO XPS](/slides/python-net/conversion/ppsm-to-xps/) — XML Paper Specification
