2 ms·
By implementing the decoder in WebAssembly. It'd be lower performance than native decoding but probably not that bad. Here's one: https://github.com/niutech/jx
by clouddrover 4y ago
By implementing the decoder in WebAssembly. It'd be lower performance than native decoding but probably not that bad.
Here's one: https://github.com/niutech/jxl.js https://github.com/niutech/jxl.js
Demo: https://niutech.github.io/jxl.js/ https://niutech.github.io/jxl.js/
Libjxl's own WASM build: https://github.com/libjxl/libjxl/tree/main/tools/wasm_demo https://github.com/libjxl/libjxl/tree/main/tools/wasm_demo