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
| Name | Type | Access | Description |
|---|---|---|---|
size | Any | Read | Gets the size of the image. |
width | int | Read | Gets the width of the image in pixels. |
height | int | Read | Gets the height of the image in pixels. |
Methods
| Signature | Description |
|---|---|
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. |