Images

Inheritance: java.lang.Object

public class Images

Methods to instantiate and work with IImage.

Constructors

ConstructorDescription
Images()

Methods

MethodDescription
fromData(byte[] imageData)Create an image from byte array.
fromFile(String filename)Create an image from the file.
fromStream(InputStream stream)Create an image from the stream.

Images()

public Images()

fromData(byte[] imageData)

public static IImage fromData(byte[] imageData)

Create an image from byte array.

Parameters:

ParameterTypeDescription
imageDatabyte[]

Returns: IImage

fromFile(String filename)

public static IImage fromFile(String filename)

Create an image from the file.

Parameters:

ParameterTypeDescription
filenamejava.lang.String

Returns: IImage

fromStream(InputStream stream)

public static IImage fromStream(InputStream stream)

Create an image from the stream.

Parameters:

ParameterTypeDescription
streamjava.io.InputStream

Returns: IImage