asImageBitmap
Source set: Android
fun Bitmap.asImageBitmap(): ImageBitmap
Create an ImageBitmap from the given Bitmap. Note this does not create a copy of the original Bitmap and changes to it will modify the returned ImageBitmap
Create an ImageBitmap from the given Bitmap.
Compose Multiplatform
Ship iOS, desktop, and web apps with Compose
RevenueCat
Add subscriptions to your apps in minutes
fun Bitmap.asImageBitmap(): ImageBitmap
Create an ImageBitmap from the given Bitmap. Note this does not create a copy of the original Bitmap and changes to it will modify the returned ImageBitmap
Last updated: