---
Product: Aspose.Slides
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/slides/python/PPImage
---

# PPImage

## Overview

`PPImage` is a class in Aspose.Slides FOSS for Python.
Inherits from: `IPPImage`.

Represents an image in a presentation.

This class provides 1 method for working with PPImage objects in Python programs.
Available methods include: `replace_image`.
All public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package.
Properties: `binary_data`, `content_type`, `height`, `image`, `width`, `x`, and 1 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `binary_data` | `list[int]` | Read | Returns the copy of an image's data. |
| `image` | `IImage` | Read | Returns the copy of an image. |
| `content_type` | `str` | Read | Returns a MIME type of an image, encoded in . |
| `width` | `int` | Read | Returns a width of an image. |
| `height` | `int` | Read | Returns a height of an image. |
| `x` | `int` | Read | Returns a X-offset of an image. |
| `y` | `int` | Read | Returns a Y-offset of an image. |

## Methods

| Signature | Description |
|-----------|-------------|
| `replace_image()` | Replaces the image data with new content |

## See Also

- [Aspose.Slides — Enterprise API Reference](https://reference.aspose.com/slides/)