getBitmap

open fun getBitmap(image: ImageProxy): Bitmap

Converts the image to a bitmap and rotates to the correct orientation basedon the rotation degrees from the image

Return

bitmap of the input image

Parameters

image

An image with JPEG format