A partial archive of discourse.wicg.io as of Saturday February 24, 2024.

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: https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.cpp https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/platform/image-decoders/&q=ImageDecoder&sq=package:chromium&type=cs

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.