ImageHeaderParserUtils
Utilities for the ImageHeaderParser.
Functions
Link copied to clipboard
open fun getOrientation( parsers: List<ImageHeaderParser>, parcelFileDescriptorRewinder: ParcelFileDescriptorRewinder, byteArrayPool: ArrayPool): Int
Content copied to clipboard
open fun getOrientation( parsers: List<ImageHeaderParser>, is: InputStream, byteArrayPool: ArrayPool): Int
Content copied to clipboard
Returns the orientation for the given InputStream.
open fun getOrientation( parsers: List<ImageHeaderParser>, buffer: ByteBuffer, arrayPool: ArrayPool): Int
Content copied to clipboard
Returns the result from the first of
parsers
that returns something other than UNKNOWN_ORIENTATION.Link copied to clipboard
open fun getType(parsers: List<ImageHeaderParser>, buffer: ByteBuffer): ImageHeaderParser.ImageType
Content copied to clipboard
Returns the ImageType for the given ByteBuffer.
open fun getType( parsers: List<ImageHeaderParser>, parcelFileDescriptorRewinder: ParcelFileDescriptorRewinder, byteArrayPool: ArrayPool): ImageHeaderParser.ImageType
Content copied to clipboard
open fun getType( parsers: List<ImageHeaderParser>, is: InputStream, byteArrayPool: ArrayPool): ImageHeaderParser.ImageType
Content copied to clipboard
Returns the ImageType for the given InputStream.