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

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(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.

See Also

 English