asBitmap

open fun asBitmap(width: Int, height: Int): <Error class: unknown class>?

Converts a Image to Bitmap.