# Convert PPSX to EMF in Python

> Convert PPSX slide shows to EMF files in Python. Use the Aspose.Slides Python API to export each slide as an EMF file.

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



## Convert PPSX to EMF in Python

[*Aspose.Slides for Python via .NET*](/slides/python-net/) lets you convert PPSX slide shows to EMF files programmatically. Load the presentation, access each slide, and write its content to a binary stream with `Slide.write_as_emf`.

The API exports slide content as vector graphics suitable for scaling and further processing. You can test the conversion in your [browser](https://products.aspose.app/slides/conversion/ppsx-to-emf) or use the Python API 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 PPSX to EMF in Python

These are the steps to convert a PPSX file to EMF using Python.

Load the PPSX file into a `Presentation` instance.

Iterate through `Presentation.slides` and access each slide through a variable.

Call `Slide.write_as_emf` for each slide and pass a writable binary stream.

## 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 PPSX to EMF in Python

```python
with slides.Presentation("presentation.ppsx") as presentation:
    for slide in presentation.slides:
        file_path = f"presentation_slide_{slide.slide_number}.emf"
        with open(file_path, "wb") as file_stream:
            slide.write_as_emf(file_stream)
```

## Save PPSX as EMF in Python

Use the [free online app](https://products.aspose.app/slides/conversion/ppsx-to-emf) to see the PPSX-to-EMF conversion process in action.

## Other Supported Conversions

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