decode Bitmap Async
Decode bitmap from an imageUri
asynchronously. Accepts URI schemes accepted by openInputStream:
- content (SCHEME_CONTENT)
- android.resource (SCHEME_ANDROID_RESOURCE)
- file (SCHEME_FILE)
Return
Single observable returning decoded bitmap data.
Parameters
context
The context to use.
image Uri
Uri from which to read the bitmap.