ResourceLoader
A ImageBitmapLoader that loads ImageBitmaps from Resources.
Warning: Only supports non vector images, like PNGs and JPEGs.
Usage:
import org.jetbrains.compose.resources.resource
val resImage = resource("my_image.png")
val imageBitmap = ResourceLoader.load(resImage)
Content copied to clipboard
Functions
Link copied to clipboard
Load the Resource than convert it to a ImageBitmap.