Squiz Matrix
4.12.2
|
Public Member Functions | |
ImageReader (FileInfo fi) | |
Object | readPixels (InputStream in) |
Object | readPixels (InputStream in, long skipCount) |
Object | readPixels (String url) |
Reads raw 8-bit, 16-bit or 32-bit (float or RGB) images from a stream or URL.
Definition at line 8 of file ImageReader.java.
|
inline |
Constructs a new ImageReader using a FileInfo object to describe the file to be read.
Definition at line 21 of file ImageReader.java.
|
inline |
Reads the image from the InputStream and returns the pixel array (byte, short, int or float). Returns null if there was an IO exception. Does not close the InputStream.
Definition at line 312 of file ImageReader.java.
|
inline |
Skips the specified number of bytes, then reads an image and returns the pixel array (byte, short, int or float). Returns null if there was an IO exception. Does not close the InputStream.
Definition at line 366 of file ImageReader.java.
|
inline |
Reads the image from a URL and returns the pixel array (byte, short, int or float). Returns null if there was an IO exception.
Definition at line 380 of file ImageReader.java.