Images

Overview

Images is a class in Aspose.Slides FOSS for Java.

Methods to instantiate and work with {@link IImage}.

This class provides 3 methods for working with Images objects in Java programs. Available methods include: fromFile, fromStream. All public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package.

Methods

SignatureDescription
fromFile(path: String)IImageCreates an image from a file path.
fromStream(stream: InputStream)IImageCreates an image from an input stream.
fromStream(stream: InputStream, contentType: String)IImageCreates an image from an input stream with an explicit content type.

See Also