getOrientation

open fun getOrientation(    parsers: List<ImageHeaderParser>,     buffer: ByteBuffer,     arrayPool: ArrayPool): Int

Returns the result from the first of parsers that returns something other than UNKNOWN_ORIENTATION.

If buffer is null, the parers list is empty, or none of the parsers returns a valid value, UNKNOWN_ORIENTATION is returned.


open fun getOrientation(    parsers: List<ImageHeaderParser>,     is: InputStream,     byteArrayPool: ArrayPool): Int

Returns the orientation for the given InputStream.


open fun getOrientation(    parsers: List<ImageHeaderParser>,     parcelFileDescriptorRewinder: ParcelFileDescriptorRewinder,     byteArrayPool: ArrayPool): Int