Images
Contents
[
Hide
]Inheritance: java.lang.Object
public class Images
Methods to instantiate and work with IImage.
Constructors
| Constructor | Description |
|---|---|
| Images() |
Methods
| Method | Description |
|---|---|
| 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:
| Parameter | Type | Description |
|---|---|---|
| imageData | byte[] |
Returns: IImage
fromFile(String filename)
public static IImage fromFile(String filename)
Create an image from the file.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| filename | java.lang.String |
Returns: IImage
fromStream(InputStream stream)
public static IImage fromStream(InputStream stream)
Create an image from the stream.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| stream | java.io.InputStream |
Returns: IImage