transform
abstract suspend fun transform(pool: BitmapPool, input: Bitmap, size: Size): Bitmap
Content copied to clipboard
Apply the transformation to input and return the transformed Bitmap.
Return
The transformed Bitmap.
Parameters
pool
A BitmapPool which can be used to request Bitmap instances.
input
The input Bitmap to transform. Its config will always be Bitmap.Config.ARGB_8888 or Bitmap.Config.RGBA_F16.
size
The size of the image request.