That’s about a 50% reduction in size, lossless, zero reduction in quality or change to pixels from lossless PNG to lossless JXL.
So the browser tools i built basically serves you the tools to easily convert stuff without needing to know anything about libjxl.
The JPEG reconstruction is the most interesting thing, you’re taking a lossy JPEG, converting it to lossless JPEG XL, and you’re seeing a 20% reduction in size while preserving that compression data.


Lemmy already supports webp through pictrs.
you can get a webp format image for every image uploaded.
Not against jpegxl though. But argument isn’t as strong since jpegxl is prob more of tradeoff against it
Thanks for replying, I think it’s still very worthwhile to support JPEG XL even while WebP exists given that WebP is technologically inferior to JPEG XL in almost every way.
I took a look and Pictrs already should support JXL (jpeg xl)
I believe it already works, all though unable to confirm this as I dont have anything atm that can display JXL.
https://lemmy.world/pictrs/image/64d7f66d-04f0-4c9d-8893-f05304feb431.webp?format=jxl&thumbnail=512
^ even though the above says
.webpit should be a jxl format imagesee this for the default format https://git.asonix.dog/asonix/pict-rs/src/branch/main/pict-rs.toml#L347
But tbh i doubt the default format will change soon bc JXL support is very poor. No android device supports it yet. and the latest browsers only in beta. Only apple side it seems to have some support already.
Yea this is diplaying in the UI for me, why does it requre the .webp?format=jxl instead of just being .jxl? Seems weird. If you want something that can display JPEG XL you can use chromium and go to chrome://flags/#enable-jxl
could you list some of these ways?
https://bulkimagepro.com/compare/next-gen-image-formats/
deleted by creator