IPPImage
Overview
IPPImage is a class in Aspose.Slides FOSS for Python.
Inherits from: ABC.
Represents an image in a presentation.
This class declares 3 methods for IPPImage objects in Python programs.
Available methods include: replace_image.
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(new_image_data) | ` replaces the picture data with raw bytes or another image object |
replace_image(new_image) | Calls replace_image(new_image) on this IPPImage instance. |
replace_image(new_image) | Calls replace_image(new_image) on this IPPImage instance. |