rotateImageExif

open fun rotateImageExif(    pool: BitmapPool,     inBitmap: Bitmap,     exifOrientation: Int): Bitmap

Rotate and/or flip the image to match the given exif orientation.

Return

The rotated and/or flipped image or toOrient if no rotation or flip was necessary.

Parameters

pool

A pool that may or may not contain an image of the necessary dimensions.

inBitmap

The bitmap to rotate/flip.

exifOrientation

the exif orientation [1-8].