decodeBitmapAsync

open fun decodeBitmapAsync(@NonNull context: Context, @NonNull imageUri: Uri): Single<Bitmap>

Decode bitmap from an imageUri asynchronously. Accepts URI schemes accepted by openInputStream:

Return

Single observable returning decoded bitmap data.

Parameters

context

The context to use.

imageUri

Uri from which to read the bitmap.