correctBitmapRotation

fun Context.correctBitmapRotation(initialBitmap: Bitmap, inputUri: Uri): Bitmap?

Corrects the rotation of a bitmap based on the EXIF tags in the file as specified by the URI