IPPImage
Overview
IPPImage is a interface in Aspose.Slides FOSS for Java.
Represents an image in a presentation.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
binaryData | byte[] | Read | Returns the copy of an image’s data. |
image | IImage | Read | Returns the copy of an image. |
contentType | String | Read | Returns a MIME type of an image. |
width | int | Read | Returns the width of an image. |
height | int | Read | Returns the height of an image. |
x | int | Read | Returns the X-offset of an image. |
y | int | Read | Returns the Y-offset of an image. |
Methods
| Signature | Description |
|---|---|
getBinaryData() → byte[] | Returns the copy of an image’s data. |
getImage() → IImage | Returns the copy of an image. |
getContentType() → String | Returns a MIME type of an image. |
getWidth() → int | Returns the width of an image. |
getHeight() → int | Returns the height of an image. |
getX() → int | Returns the X-offset of an image. |
getY() → int | Returns the Y-offset of an image. |
replaceImage(newImageData: byte[]) | Replaces the image data with new raw binary data. |
replaceImage(newImage: IImage) | Replaces the image with the specified {@link IImage}. |
replaceImage(newImage: IPPImage) | Replaces the image with another presentation image. |