ImageFormats
Functions
Link copied to clipboard
Link copied to clipboard
Decodes a given data byte array to a bitmap based on the image format with optional extra prop properties.
Link copied to clipboard
Link copied to clipboard
suspend fun decodeHeaderSuspend(file: VfsFile, props: ImageDecodingProps = ImageDecodingProps.DEFAULT): ImageInfo?
open suspend override fun decodeHeaderSuspend(s: AsyncStream, props: ImageDecodingProps): ImageInfo?
Link copied to clipboard
Link copied to clipboard
fun encode(frames: List<ImageFrame>, props: ImageEncodingProps = ImageEncodingProps("unknown")): ByteArray
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard