IImage — Aspose.Slides FOSS Java API Reference

IImage — Represents a raster or vector image.

Package: org.aspose.slides.foss


Properties

PropertyTypeAccessDescription
sizeSizeRead/Write
widthintRead/Write
heightintRead/Write

Methods

MethodReturnsDescription
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(String filename)voidSaves the image to the specified file.
save(String filename, String format)voidSaves the image to the specified file in the given format.
save(OutputStream stream, String format)voidSaves the image to the specified stream in the given format.
save(String filename, String format, int quality)voidSaves the image to the specified file in the given format and quality.
save(OutputStream stream, String format, int quality)voidSaves the image to the specified stream in the given format and quality.

See Also