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

NameTypeAccessDescription
binary_datalist[int]ReadReturns the copy of an image’s data.
imageIImageReadReturns the copy of an image.
content_typestrReadReturns a MIME type of an image, encoded in .
widthintReadReturns a width of an image.
heightintReadReturns a height of an image.
xintReadReturns a X-offset of an image.
yintReadReturns a Y-offset of an image.

Methods

SignatureDescription
replace_image()Replaces the image data with new content

See Also