compressBitmap

open fun compressBitmap(bitmap: Bitmap, format: Bitmap.CompressFormat): Array<Byte>

Compresses the bitmap to JPEG format and returns byte arrays

Return

Parameters

bitmap

to compress