BitmapInfo

data class BitmapInfo(val bitmap: Bitmap, val compressFormat: Bitmap.CompressFormat = Bitmap.CompressFormat.JPEG, val quality: Int = DEFAULT_IMAGE_QUALITY)

Information related to a particular uncompressed image.

Constructors

Link copied to clipboard
constructor(bitmap: Bitmap, compressFormat: Bitmap.CompressFormat = Bitmap.CompressFormat.JPEG, quality: Int = DEFAULT_IMAGE_QUALITY)

Properties

Link copied to clipboard

Bitmap image that needs to be cached.

Link copied to clipboard

Bitmap.CompressFormat format a bitmap can be compressed into to reduce the size when caching.

Link copied to clipboard

value 0 means compress for the smallest size. Value 100 means compress for max visual quality.