asImageBitmap
Source set: Android
public 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.
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Robomori
Run Android emulators and devices outside Android Studio.
public 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
Content updated: