transform

abstract suspend fun transform(input: Bitmap, size: Size): Bitmap

Apply the transformation to input and return the transformed Bitmap.

Return

The transformed Bitmap.

Parameters

input

The input Bitmap to transform. Its config will always be ARGB_8888 or RGBA_F16.

size

The size of the image request.