IImage — Aspose.Slides FOSS Java API Reference
IImage — Represents a raster or vector image.
Package: org.aspose.slides.foss
Properties
| Property | Type | Access | Description |
|---|---|---|---|
size | Size | Read/Write | |
width | int | Read/Write | |
height | int | Read/Write |
Methods
| Method | Returns | 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(String filename) | void | Saves the image to the specified file. |
save(String filename, String format) | void | Saves the image to the specified file in the given format. |
save(OutputStream stream, String format) | void | Saves the image to the specified stream in the given format. |
save(String filename, String format, int quality) | void | Saves the image to the specified file in the given format and quality. |
save(OutputStream stream, String format, int quality) | void | Saves the image to the specified stream in the given format and quality. |