compress Bitmap
open fun compressBitmap(bitmap: Bitmap, format: Bitmap.CompressFormat): Array<Byte>
Content copied to clipboard
Compresses the bitmap to JPEG format and returns byte arrays
Return
Parameters
bitmap
to compress
Compresses the bitmap to JPEG format and returns byte arrays
to compress