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.
|
@NonNull public static ImageHeaderParser.ImageType getType(@NonNull List<ImageHeaderParser> parsers, @Nullable InputStream is, @NonNull ArrayPool byteArrayPool) throws IOException
IOException
@NonNull public static ImageHeaderParser.ImageType getType(@NonNull List<ImageHeaderParser> parsers, @Nullable ByteBuffer buffer) throws IOException
IOException
public static int getOrientation(@NonNull List<ImageHeaderParser> parsers, @Nullable InputStream is, @NonNull ArrayPool byteArrayPool) throws IOException
IOException