For the purposes of “replacing JPEG”, which was my stated goal, it doesn’t matter. What does matter is that a second conversion is often lossless. E.g. convert TIFF/PNG/whatever to JPEG, then convert that JPEG to JPEG again and you lose yet more information. The JPEG-XL library explicitly supports retaining exactly the same image output in less space than the JPEG. Thus, lossless, and yes it matters if you have JPEGs already.
If your goal is a storage format that takes less space and you care about absolute quality, then you’re stuck with lossless formats. Some will fare better than others. These days, there are many “features” in these formats, not just a bunch of pixels.
I was going to say PNG is only 8-bit, so would be lossy, but a quick check shows it does support 16-bit colour. However, it is a VERY old format, so it’s not surprising it doesn’t perform well on compression.
What’s the goal here? PhotoLab is a non-destructive editor. If you have the original RAW and DOP file, you don’t need a TIFF or JPEG or equivalent to last for ever? Are you trying to save the space of a RAW file by keeping only a smaller version of the “developed” file? In this case, what is the ultimate quality supposed to achieve for you? I can’t imagine further processing would work out too well, compared to starting from the RAW+DOP again. All honest questions, not criticism.
Many believed BetaMax should have won because it was “the best”, but VHS was what we got. The same could be said for many systems of the last 40+ years. The reason JPEG survives today is because, beyond the timeframe in which it was great, it has remained good enough and, most importantly, popular.
There are really only two ways DxO can go with this (excepting completely ignoring new formats).
- Choose a horse. Be that AVIF or JPEG-XL or something else.
- Offer wide support.
Personally, notwithstanding any difficulties (technical or legal/financial), I think they should take option 2. There’s no reason PhotoLab couldn’t output a 1-bit TIFF or even a GIF. Same, they could offer AVIF and JPEG-XL. Once the export pipeline has composed an RGB image of appropriate dimensions, the format is just a matter of conversion. I don’t believe anything would need to change in the pipeline. Just what gets bolted on the end.
For your purposes, could you not:
a) decide on the format you prefer
b) export from PhotoLab to a (giant) DNG or TIFF
c) add automation to perform the conversion using an external tool