public class ImageHeaderParser extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ImageHeaderParser.ImageType
The format of the image data including whether or not the image may include transparent pixels.
|
Constructor and Description |
---|
ImageHeaderParser(InputStream is) |
Modifier and Type | Method and Description |
---|---|
int |
getOrientation()
Parse the orientation from the image header.
|
ImageHeaderParser.ImageType |
getType() |
boolean |
hasAlpha() |
public ImageHeaderParser(InputStream is)
public boolean hasAlpha() throws IOException
IOException
public ImageHeaderParser.ImageType getType() throws IOException
IOException
public int getOrientation() throws IOException
IOException