now that jpeg xl is likely being supported by chromium which means that firefox will finally enable it in stable versions i can stop outwardly saying that webp is good. because yes it is but holy shit JXL is better.
jpeg xl differences to jpeg:
animation and layers (by using "zero length frames" of animation idfk)
has even smaller filesizes compared to jpeg with the exact same compression quality, and smaller file sizes than png or webp
supports loading progressively so a smaller version of the file can be shown while a larger file is still being downloaded
faster encoding and decoding compared to most other formats
supports images literally a billion pixels wide (png can do 2 billion but be for real)
most formats allow 4 colour channels, while this supports 4099, so it can store depth data, temperature data, more different transparency alpha layers to maybe make a sort of cryptomatte because:
supports up to 32 bits per colour
Already supported by Windows, MacOS, Adobe products, GIMP, Affinity, Krita, Paint.NET, Photopea, ImageMagick, FFmpeg, Qt/GTK apps, Safari, Firefox(stable builds are not compiled with JXL support, but it would be very easy to change this when chrome supports it. i understand keeping things consistent but come onnnn), PDFs are soon going to allow embedding them inside, and of course, as soon as chromium adds it things like Discord or other electron apps will also support it.
(i didn't say linux supports it because image viewers and whatever are all very different depending on what you use, but basically every popular one already works with it)
the only reason we didnt get jpeg xl widely used until now is because chrome refused to use it to push their own .webp and firefox was too scared to be different. come on, even safari enabled it!!!
the .jxl revolution is near.