load

abstract suspend fun load(source: String, description: String = ""): Image?

Return

an image, or null if there is a failure

Parameters

source

to load image from

description

of the image


abstract suspend fun load(file: LocalFile, description: String = ""): Image?

Return

an image, or null if there is a failure

Parameters

file

to load image from

description

of the image