mrm
May 27, 2021, 3:10am
11
Recent news about the jxl library being developed in public now:
opened 07:20PM - 24 May 21 UTC
blocked-upstream-dependency
enhancement
What are you trying to achieve? -> **smaller images**
Have you searched for s… imilar feature requests? -> **Yes, see also https://github.com/lovell/sharp/issues/2245**
What would you expect the API to look like? -> **Same as other formats.**
What alternatives have you considered? -> **AVIF, but JPEG-XL has several advantages**
Is there a sample image that helps explain? -> **nope**
**More info:**
https://jpeg.org/jpegxl/
https://bugzilla.mozilla.org/show_bug.cgi?id=1539075#c18
https://github.com/mozilla/standards-positions/issues/522
https://caniuse.com/jpegxl
There is some initial implementation in Squoosh:
https://github.com/GoogleChromeLabs/squoosh
I know, it's soon, but the format spec. is finished so it's ready to be implemented. Also the comment from Facebook employee in the bugzilla thread has some good points regarding this formats (bright) future in FB.
(There are still a couple blockers before jxl is in sharp: but I could do reencoding with an external tool, similar to how I handle HEIF. There are serious performance downsides to that approach, though)