Open xplosionmind opened 2 years ago
Thanks for the feedback! Browser support is non-existent, but that's never stopped us before :)
Luckily, we won't need to make any changes to JPT itself accommodate it. We need our mime-types handling library to add support, which is easy. I've made pull requests to that repo before adding support for new formats; it's not a difficult process. If you're motivated, you can do that; I'm a bit busy these days.
The other requirement is that your local installation of either libvips or imagemagick will need to support it. I believe libvips has experimental support, and my particular imagemagick installation (7.1.0 on Arch Linux) also appears to support jxl.
I was also interested in this. It looks like someone already added a provisional entry for JXLs to mime-types-data in Nov 2021.
The provisional mime types don't seem to be in the current release version. But if you download the mime-types-data source, JPT cranks out JPEG XLs flawlessly.
I'm happy to report that JPEG XL now works out-of-the-box thanks to today's v3.2024.0820 release of mime-types-data.
JPEG XL is the future of image formats and all major browsers are implementing it. It is crucial to support it.