toByteArray

fun ImageBitmap.toByteArray(): ByteArray?(source)

Image decoders for ByteArray

See also

SVG file to a compose Painter