encode

fun encode(bmp: Bitmap32, quality: Int? = null): ByteArray(source)