Are you supposed to be able to implement a custom ...
# compose-web
a
Are you supposed to be able to implement a custom
ImageBitmap
? Even the simplest implementation causes an interal error "Unable to obtain org.jetbrains.skia.Image" on wasm:
Copy code
val orig = imageResource(Res.drawable.image)
val bmp = object : ImageBitmap by orig {}
Image(bmp, null)
Wondering if this is a bug or if it's just intentionally not supported.