getBitmapFromUri

fun getBitmapFromUri(contentResolver: ContentResolver, uri: Uri): Bitmap?

Extracts a Bitmap from an Uri.

Author

Arnau Mora

Since

20210425

Parameters

contentResolver

The content resolve

Throws

When there was an error while loading the bitmap.