IPPImage

Overview

IPPImage is a interface in Aspose.Slides FOSS for Java.

Represents an image in a presentation.

This interface provides 10 methods for working with IPPImage objects in Java programs. Available methods include: getBinaryData, getContentType, getHeight, getImage, getWidth, getX, getY, replaceImage. All public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package. Properties: binaryData, contentType, height, image, width, x, and 1 more.

Properties

NameTypeAccessDescription
binaryDatabyte[]ReadReturns the copy of an image’s data.
imageIImageReadReturns the copy of an image.
contentTypeStringReadReturns a MIME type of an image.
widthintReadReturns the width of an image.
heightintReadReturns the height of an image.
xintReadReturns the X-offset of an image.
yintReadReturns the Y-offset of an image.

Methods

SignatureDescription
getBinaryData()byte[]Returns the copy of an image’s data.
getImage()IImageReturns the copy of an image.
getContentType()StringReturns a MIME type of an image.
getWidth()intReturns the width of an image.
getHeight()intReturns the height of an image.
getX()intReturns the X-offset of an image.
getY()intReturns 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.

See Also