Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun copy(bmp: Bitmap): NativeImage
Link copied to clipboard
open override fun create(width: Int, height: Int, premultiplied: Boolean?): NativeImage
open fun create(width: Int, height: Int, pixels: IntArray, premultiplied: Boolean?): NativeImage
Link copied to clipboard
suspend fun decode(file: FinalVfsFile, props: ImageDecodingProps): Bitmap
suspend fun decode(file: FinalVfsFile, premultiplied: Boolean): Bitmap
open suspend override fun decode(file: VfsFile, props: ImageDecodingProps): Bitmap
suspend fun decode(file: VfsFile, premultiplied: Boolean): Bitmap
suspend fun decode(data: ByteArray, props: ImageDecodingProps): NativeImage
suspend fun decode(data: ByteArray, premultiplied: Boolean): NativeImage
suspend fun decode(vfs: Vfs, path: String, props: ImageDecodingProps): NativeImage
suspend fun decode(vfs: Vfs, path: String, premultiplied: Boolean): NativeImage
Link copied to clipboard
suspend fun decodeHeader(data: ByteArray): ImageInfo
Link copied to clipboard
Link copied to clipboard
open suspend override fun decodeSuspend(data: ByteArray, props: ImageDecodingProps): NativeImage
Link copied to clipboard
open suspend override fun display(bitmap: Bitmap, kind: Int)
Link copied to clipboard
open suspend override fun encodeSuspend(image: ImageDataContainer, props: ImageEncodingProps): ByteArray
Link copied to clipboard
suspend fun ImageFormatEncoder.encodeSuspend(bitmap: Bitmap, props: ImageEncodingProps = ImageEncodingProps("unknown")): ByteArray
Link copied to clipboard
open override fun mipmap(bmp: Bitmap): NativeImage
open override fun mipmap(bmp: Bitmap, levels: Int): NativeImage