Kadet wrote: ↑Wed Oct 09, 2024 6:45 pm
WEBP, with its limitations, is a dead end. Currently, it is slowly being replaced by the AVIF format on websites.
AVIF is based on AV1 and destroys details even more than WebP (but can kinda bring former shadows of them back with grain synthesis), so I wouldn’t be so sure about the full replacement.
Kadet wrote: ↑Wed Oct 09, 2024 6:45 pm
And just around the corner is the new, great JPEG XL format.
JPEG XL is already here and it’s good. However, Google Chrome’s market share is overwhelmingly large. And Google is against JPEG XL, for its own nefarious reasons, I’m sure. Only Apple has its full support in Safari, but Apple always thinks different. So the future is bleak, at least in the web space.
Kadet wrote: ↑Wed Oct 09, 2024 6:45 pm
New libjpeg-turbo add new future and now can do lossless JPEG files

"We support 8-bit and 12-bit data precision in lossy mode and 2-bit through
16-bit data precision in lossless mode."
Where did you find this info?
The thing is, regular old JPEG’s internal structure is already set in stone and known by all decoders, and implementing something different will bring significant incompatibility. For example, lossless compression (1x1 DCT) was technically introduced in libjpeg v9 back in 2013 as a “proprietary incompatible extension”, and I’ve yet to see somebody actually using it.