ImageDecoder

open external class ImageDecoder(init: ImageDecoderInit)(source)

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