IImage

Overview

IImage is a class in Aspose.Slides FOSS for Python. Inherits from: ABC.

Represents a raster or vector image.

This class declares 5 methods for IImage objects in Python programs. Available methods include: save. Public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package. Properties: height, size, width.

Properties

NameTypeAccessDescription
sizeAnyReadGets the size of the image.
widthintReadGets the width of the image in pixels.
heightintReadGets the height of the image in pixels.

Methods

SignatureDescription
save(filename)Writes the image to the stream using format and quality parameters
save(filename, format)Calls save(filename, format) on this IImage instance.
save(stream, format)Calls save(stream, format) on this IImage instance.
save(filename, format, quality)Calls save(filename, format, quality) on this IImage instance.
save(stream, format, quality)Calls save(stream, format, quality) on this IImage instance.

See Also

 English