GrayscaleTransformation

class GrayscaleTransformation : Transformation

A Transformation that converts an image to shades of gray.

Constructors

GrayscaleTransformation
Link copied to clipboard
fun GrayscaleTransformation()

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
key
Link copied to clipboard
open override fun key(): String
Return a unique key for this transformation.
toString
Link copied to clipboard
open override fun toString(): String
transform
Link copied to clipboard
open suspend override fun transform(pool: BitmapPool, input: Bitmap, size: Size): Bitmap
Apply the transformation to input and return the transformed Bitmap.