toGray

open fun toGray(src: Bitmap): Bitmap

Return the gray bitmap.

Return

the gray bitmap

Parameters

src

The source of bitmap.

open fun toGray(src: Bitmap, recycle: Boolean): Bitmap

Return the gray bitmap.

Return

the gray bitmap

Parameters

src

The source of bitmap.

recycle

True to recycle the source of bitmap, false otherwise.