toJpeg

fun Bitmap.toJpeg(quality: Int = 92): ByteArray