ImageLoader

interface ImageLoader

Provides a way of loading Images from a given source.

Functions

Link copied to clipboard
abstract suspend fun load(file: LocalFile, description: String = ""): Image?
abstract suspend fun load(source: String, description: String = ""): Image?
Link copied to clipboard
abstract fun unload(image: Image)

Unloads an image that was previously loaded with load.