readImage

abstract fun readImage(source: File, options: BitmapFactory.Options? = null): Bitmap?

Read Bitmap image from the source File

Parameters

source

the source file object, or null if it could not be decoded.

Throws

in case of IO operation problems


abstract fun readImage(sourceUri: Uri, options: BitmapFactory.Options? = null): Bitmap?

Read Bitmap image from the source file Uri

Parameters

source

the source file object, or null if it could not be decoded.

Throws

in case of IO operation problems