JPEG

object JPEG : ImageFormat(source)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun check(s: SyncStream, props: ImageDecodingProps): Boolean
Link copied to clipboard
suspend fun decode(file: VfsFile): Bitmap
open suspend override fun decode(s: VfsFile, props: ImageDecodingProps): Bitmap
suspend fun decode(s: AsyncStream, props: ImageDecodingProps): Bitmap
suspend fun decode(s: AsyncStream, filename: String): Bitmap
fun decode(s: SyncStream, props: ImageDecodingProps): Bitmap
fun decode(data: ByteArray, props: ImageDecodingProps): Bitmap
Link copied to clipboard
open override fun decodeHeader(s: SyncStream, props: ImageDecodingProps): ImageInfo?
Link copied to clipboard
open suspend fun decodeHeaderSuspend(s: AsyncStream, props: ImageDecodingProps): ImageInfo?
Link copied to clipboard
open suspend override fun decodeSuspend(data: ByteArray, props: ImageDecodingProps): Bitmap
Link copied to clipboard
fun encode(bitmap: Bitmap, props: ImageEncodingProps): ByteArray
fun encode(image: ImageData, props: ImageEncodingProps): ByteArray
fun encode(frames: List<ImageFrame>, props: ImageEncodingProps): ByteArray
Link copied to clipboard
suspend fun read(file: VfsFile): Bitmap
suspend fun read(file: VfsFile, props: ImageDecodingProps): ImageData
fun read(s: SyncStream, props: ImageDecodingProps): Bitmap
fun read(s: SyncStream, filename: String): Bitmap
fun read(s: ByteArray, props: ImageDecodingProps): Bitmap
fun read(s: ByteArray, filename: String): Bitmap
Link copied to clipboard
open override fun readImage(s: SyncStream, props: ImageDecodingProps): ImageData
Link copied to clipboard
open fun readImageContainer(s: SyncStream, props: ImageDecodingProps): ImageDataContainer
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open override fun writeImage(image: ImageData, s: SyncStream, props: ImageEncodingProps)