jekyll_picture_tag icon indicating copy to clipboard operation
jekyll_picture_tag copied to clipboard

JPEG XL Support

Open xplosionmind opened this issue 2 years ago • 2 comments

JPEG XL is the future of image formats and all major browsers are implementing it. It is crucial to support it.

xplosionmind avatar Jan 19 '22 09:01 xplosionmind

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.

rbuchberger avatar Jan 19 '22 12:01 rbuchberger

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.

seskritt avatar Apr 27 '22 17:04 seskritt