-
public interface ImageHeaderParserInterface for the ImageHeaderParser.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumImageHeaderParser.ImageTypeThe format of the image data including whether or not the image may include transparent pixels.
-
Method Summary
Modifier and Type Method Description abstract ImageHeaderParser.ImageTypegetType(@NonNull() InputStream is)abstract ImageHeaderParser.ImageTypegetType(@NonNull() ByteBuffer byteBuffer)abstract intgetOrientation(@NonNull() InputStream is, @NonNull() ArrayPool byteArrayPool)Parse the orientation from the image header. abstract intgetOrientation(@NonNull() ByteBuffer byteBuffer, @NonNull() ArrayPool byteArrayPool)-
-
Method Detail
-
getType
@NonNull() abstract ImageHeaderParser.ImageType getType(@NonNull() InputStream is)
-
getType
@NonNull() abstract ImageHeaderParser.ImageType getType(@NonNull() ByteBuffer byteBuffer)
-
getOrientation
abstract int getOrientation(@NonNull() InputStream is, @NonNull() ArrayPool byteArrayPool)
Parse the orientation from the image header. If it doesn't handle this image type (or this isnot an image) it will return a default value rather than throwing an exception.
-
getOrientation
abstract int getOrientation(@NonNull() ByteBuffer byteBuffer, @NonNull() ArrayPool byteArrayPool)
-
-
-
-