drawableToBitmap

fun drawableToBitmap(drawable: Drawable): Bitmap?(source)