213
Browser maker love-in snubs Google-shunned JPEG XL
(www.theregister.com)
This is a most excellent place for technology news and articles.
Do you know if it uses the native decoder if available (so, in Safari I guess)? Doesn't say in the readme.
I believe so. This line in the source code means it'll only attempt the decoding if an
img
element for a.jxl
image url fails to load.If you're on safari, you can verify it by going to the demo page at https://niutech.github.io/jxl.js/ and inspect the image element. If the
src
attributes contain blob, then it's decoded using the wasm decoder. If thesrc
attribute contains url to a.jxl
file, then it's decoded natively.Very cool, thanks. Will keep this in mind.