raw Source
fun rawSource(source: () -> Source, preview: ImageBitmap? = null, onClose: Closeable? = null): SubSamplingImageSource
An arbitrary stream that should only be used for images that can't be read directly from the disk. For all other purposes, prefer using SubSamplingImageSource.file instead as it is significantly faster.
Parameters
preview
on Close
Called when the image is no longer visible.