toImage

Wraps this Bitmap in an Image, without copying it.

fun UIImage.toImage(): Image

Wraps this UIImage in an Image, without copying it.