public final class ImageHeaderParserUtils extends Object
Modifier and Type | Method and Description |
---|---|
static int |
getOrientation(List<ImageHeaderParser> parsers,
InputStream is,
ArrayPool byteArrayPool)
Returns the orientation for the given InputStream.
|
static ImageHeaderParser.ImageType |
getType(List<ImageHeaderParser> parsers,
ByteBuffer buffer)
Returns the ImageType for the given ByteBuffer.
|
static ImageHeaderParser.ImageType |
getType(List<ImageHeaderParser> parsers,
InputStream is,
ArrayPool byteArrayPool)
Returns the ImageType for the given InputStream.
|
public static ImageHeaderParser.ImageType getType(List<ImageHeaderParser> parsers, @Nullable InputStream is, ArrayPool byteArrayPool) throws IOException
IOException
public static ImageHeaderParser.ImageType getType(List<ImageHeaderParser> parsers, @Nullable ByteBuffer buffer) throws IOException
IOException
public static int getOrientation(List<ImageHeaderParser> parsers, @Nullable InputStream is, ArrayPool byteArrayPool) throws IOException
IOException