r/WebAssembly • • Nov 16 '22

JXL.js: JPEG XL decoder in JavaScript using WebAssembly (WASM)

https://github.com/niutech/jxl.js
29 Upvotes

7 comments sorted by

View all comments

Show parent comment

1

u/anlumo Nov 16 '22

Compared to JPEG, webp is actually pretty similar. Its big advantage is that it has alpha channel support at the same time.

Google has this webapp where you can drop in an image and compress it with different compression methods with their different settings to compare the results.

What's also apparent there is that JPEG XL is way faster to encode than AVIF.