ImageDecoder

The ImageDecoder interface of the WebCodecs API provides a way to unpack and decode encoded image data. Available only in secure contexts.

MDN Reference

Constructors

Link copied to clipboard
constructor(init: ImageDecoderInit)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
suspend fun decode(options: ImageDecodeOptions = definedExternally): ImageDecodeResult
Link copied to clipboard
fun decodeAsync(options: ImageDecodeOptions = definedExternally): Promise<ImageDecodeResult>
Link copied to clipboard