Package-level declarations

Types

Link copied to clipboard

An Android-specific implementation of the BitmapConverter interface.

Link copied to clipboard
interface BitmapConverter

An interface for converting a byte array into a platform-specific ImageBitmap.

Link copied to clipboard
private class IosImplementation : BitmapConverter

iOS-specific implementation of BitmapConverter that leverages Skia (via Compose Multiplatform) to decode raw byte arrays into ImageBitmap.

Functions

Link copied to clipboard

Returns the Android-specific BitmapConverter implementation.

internal expect fun getBitmapConverter(): BitmapConverter

An expected function that should return a platform-specific implementation of BitmapConverter.

actual fun getBitmapConverter(): BitmapConverter

Provides the iOS-specific BitmapConverter instance.

Link copied to clipboard

Extension function to convert a ByteArray to an ImageBitmap using the platform-specific converter.