IImage
Overview
IImage is a interface in Aspose.Slides FOSS for Java.
Inherits from: AutoCloseable.
Represents a raster or vector image.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
size | Size | 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 |
|---|---|
getSize() → Size | Gets the size of the image. |
getWidth() → int | Gets the width of the image in pixels. |
getHeight() → int | Gets the height of the image in pixels. |
save(filename: String) | Saves the image to the specified file. |
save(filename: String, format: String) | Saves the image to the specified file in the given format. |
save(stream: OutputStream, format: String) | Saves the image to the specified stream in the given format. |
save(filename: String, format: String, quality: int) | Saves the image to the specified file in the given format and quality. |
save(stream: OutputStream, format: String, quality: int) | Saves the image to the specified stream in the given format and quality. |