asBitmap

open fun asBitmap(width: Int, height: Int): Bitmap?

Converts a Image to Bitmap.