Function

decodeToImageBitmap

Decodes a byte array of a Bitmap to an ImageBitmap.

decodeToImageBitmap

Source set: Common
public fun ByteArray.decodeToImageBitmap(): ImageBitmap

Decodes a byte array of a Bitmap to an ImageBitmap.

Return

The converted ImageBitmap.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: