decode

suspend fun decode(options: ImageDecodeOptions = definedExternally): ImageDecodeResult(source)

MDN Reference