load
Downloads a PNG, JPEG, or WEBP file from an internet URL using a BasicUrl object, then provides the ImageBitmap file, if available.
Example:
val url = BasicUrl("https://picsum.photos/200")
val bitmap = ImageLoader.load(url)
Opens a PNG, JPEG, or WEBP file from a local path using a BasicPath object, then provides the ImageBitmap file, if available.
Example:
val path = BasicPath("appLocalDirectory/cacheDirectory/images/exampleImage.jpeg")
val bitmap = ImageLoader.load(path)
Downloads a PNG, JPEG, or WEBP file from an internet URL using a BasicUrl object, then provides the ImageBitmap file, if available.
Example:
val url = BasicUrl("https://picsum.photos/200")
val bitmap = ImageLoader.load(url)
Opens a PNG, JPEG, or WEBP file from a local path using a BasicPath object, then provides the ImageBitmap file, if available.
Example:
val path = BasicPath("appLocalDirectory/cacheDirectory/images/exampleImage.jpeg")
val bitmap = ImageLoader.load(path)
Downloads a PNG, JPEG, or WEBP file from an internet URL using a BasicUrl object, then provides the ImageBitmap file, if available.
Example:
val url = BasicUrl("https://picsum.photos/200")
val bitmap = ImageLoader.load(url)
Opens a PNG, JPEG, or WEBP file from a local path using a BasicPath object, then provides the ImageBitmap file, if available.
Example:
val path = BasicPath("appLocalDirectory/cacheDirectory/images/exampleImage.jpeg")
val bitmap = ImageLoader.load(path)
Downloads a PNG, JPEG, or WEBP file from an internet URL using a BasicUrl object, then provides the ImageBitmap file, if available.
Example:
val url = BasicUrl("https://picsum.photos/200")
val bitmap = ImageLoader.load(url)
Opens a PNG, JPEG, or WEBP file from a local path using a BasicPath object, then provides the ImageBitmap file, if available.
Example:
val path = BasicPath("appLocalDirectory/cacheDirectory/images/exampleImage.jpeg")
val bitmap = ImageLoader.load(path)
Downloads a PNG, JPEG, or WEBP file from an internet URL using a BasicUrl object, then provides the ImageBitmap file, if available.
Example:
val url = BasicUrl("https://picsum.photos/200")
val bitmap = ImageLoader.load(url)
Opens a PNG, JPEG, or WEBP file from a local path using a BasicPath object, then provides the ImageBitmap file, if available.
Example:
val path = BasicPath("appLocalDirectory/cacheDirectory/images/exampleImage.jpeg")
val bitmap = ImageLoader.load(path)