All Downloads are FREE. Search and download functionalities are using the official Maven repository.

skiaMain.com.seiko.imageloader.Bitmap.skia.kt Maven / Gradle / Ivy

There is a newer version: 1.8.3
Show newest version
package com.seiko.imageloader

import androidx.compose.ui.graphics.ImageBitmap
import androidx.compose.ui.graphics.asComposeImageBitmap

actual typealias Bitmap = org.jetbrains.skia.Bitmap

actual val Bitmap.size: Int
    get() = computeByteSize()

actual fun Bitmap.asImageBitmap(): ImageBitmap {
    return asComposeImageBitmap()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy