ImageDecoder worklets API (JavaScript)

Hello. I looked to chrome image decoder codes, and I think… for JavaScript need implement ImageDecoder API. Would be good area for Emscripten or hard-writted Image decoders. Through this API may be acheived any Image formats.

registerImageDecoder(MIMEString, ImageDecoder based class)

Here is chrome source code:

Simular I want propose “ImageEncoder”, “ImageDecoder”, “VideoDecoder” API’s.

I want ImageDecoder API simular CSS Houdini API. But with possible to use ASM.js, and some HTML5 API.

I want unify this theme with theme that opened 4 month ago.