read

fun read(s: SyncStream, filename: String = "unknown"): Bitmap
suspend fun read(file: VfsFile): Bitmap
fun read(s: ByteArray, filename: String): Bitmap
fun read(s: SyncStream, props: ImageDecodingProps = ImageDecodingProps.DEFAULT): Bitmap
fun read(s: ByteArray, props: ImageDecodingProps = ImageDecodingProps.DEFAULT): Bitmap
suspend fun read(file: VfsFile, props: ImageDecodingProps = ImageDecodingProps.DEFAULT): ImageData