fromBitmap

fun fromBitmap(bitmap: Bitmap): Image

Creates an Image from a bitmap.

Return

The Image created from the bitmap.

Parameters

bitmap

Bitmap of the image.