IImage

Overview

IImage is a interface in Aspose.Slides FOSS for Java. Inherits from: AutoCloseable.

Represents a raster or vector image.

Properties

NameTypeAccessDescription
sizeSizeReadGets the size of the image.
widthintReadGets the width of the image in pixels.
heightintReadGets the height of the image in pixels.

Methods

SignatureDescription
getSize()SizeGets the size of the image.
getWidth()intGets the width of the image in pixels.
getHeight()intGets 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.

See Also