ImageLoader

actual object ImageLoader

Contains load functions for BasicImage that accepts both BasicUrl and BasicPath objects.

expect object ImageLoader

Contains load functions for BasicImage that accepts both BasicUrl and BasicPath objects.

actual object ImageLoader

Contains load functions for BasicImage that accepts both BasicUrl and BasicPath objects.

actual object ImageLoader

Contains load functions for BasicImage that accepts both BasicUrl and BasicPath objects.

actual object ImageLoader

Contains load functions for BasicImage that accepts both BasicUrl and BasicPath objects.

Functions

Link copied to clipboard
actual suspend fun load(path: BasicPath): ImageBitmap?

Opens a PNG, JPEG, or WEBP file from a local path using a BasicPath object, then provides the ImageBitmap file, if available.

actual suspend fun load(url: BasicUrl): ImageBitmap?

Downloads a PNG, JPEG, or WEBP file from an internet URL using a BasicUrl object, then provides the ImageBitmap file, if available.

expect suspend fun load(path: BasicPath): ImageBitmap?

Opens a PNG, JPEG, or WEBP file from a local path using a BasicPath object, then provides the ImageBitmap file, if available.

expect suspend fun load(url: BasicUrl): ImageBitmap?

Downloads a PNG, JPEG, or WEBP file from an internet URL using a BasicUrl object, then provides the ImageBitmap file, if available.

actual suspend fun load(path: <Error class: unknown class>): <Error class: unknown class>?

Opens a PNG, JPEG, or WEBP file from a local path using a BasicPath object, then provides the ImageBitmap file, if available.

actual suspend fun load(url: <Error class: unknown class>): <Error class: unknown class>?

Downloads a PNG, JPEG, or WEBP file from an internet URL using a BasicUrl object, then provides the ImageBitmap file, if available.

actual suspend fun load(path: BasicPath): ImageBitmap?

Opens a PNG, JPEG, or WEBP file from a local path using a BasicPath object, then provides the ImageBitmap file, if available.

actual suspend fun load(url: BasicUrl): ImageBitmap?

Downloads a PNG, JPEG, or WEBP file from an internet URL using a BasicUrl object, then provides the ImageBitmap file, if available.

actual suspend fun load(path: <Error class: unknown class>): <Error class: unknown class>?

Opens a PNG, JPEG, or WEBP file from a local path using a BasicPath object, then provides the ImageBitmap file, if available.

actual suspend fun load(url: <Error class: unknown class>): <Error class: unknown class>?

Downloads a PNG, JPEG, or WEBP file from an internet URL using a BasicUrl object, then provides the ImageBitmap file, if available.