2 ms·
I'm a big supporter of JPEG-XL. It has something very unique that has not been seen in an image file format before: An option for Lossy compression that isn't
by Dwedit 2y ago
I'm a big supporter of JPEG-XL. It has something very unique that has not been seen in an image file format before: An option for Lossy compression that isn't DCT-based. So you can't get ringing or blocking, because there are is no DCT at all. The actual artifacts you do get are not at all like what you get with JPEG. Instead, you are likely to see things like slight pixellation or banding when your quality level is too low.
In order to get the non-DCT lossy compression, you need to request "Modular Mode" in the program that compresses the image. But for some reason I don't know, Irfanview is literally hiding that checkbox from you, and you can enable the feature by editing the dialog resource and making the checkbox no longer hidden.
---
Meanwhile, I still prefer WEBP for lossless compression, because the decompression code is so fast. In terms of who has the best lossless compression, WEBP and JXL easily beat AVIF, and JXL usually beats WEBP, but not always. In one case, I saw a grayscale BMP file getting better compression with FLAC (!) than JXL.
WEBP's lossy format is just not that good, AVIF and JXL beat the hell out of it, sometimes the JPEG even looks better. But WEBP's lossless format is excellent.
- ksec 2y ago>I saw a grayscale BMP file getting better compression with FLAC (!) than JXL. I thought FLAC are for audio only or am I missing something? Compared to other Lossless I thought JXL was quite computational heavy, even with the very recent optimisation. HALIC (High Availability Lossless Image Compression) is still unbelievably good. Except it is not open source ( yet ). Hopefully we will see work on image quality improvement at below BPP 1.0 this year.
- Dwedit 2y agoFLAC is meant for audio only. But you can open a BMP file as raw audio (8-bit unsigned mono) using a sound-editing tool, then save it as a FLAC file. Since FLAC is lossless, you get your original data back when you decompress it. It just happened to work particularly well on a certain grayscale image. Because only an 8-bit grayscale image could potentially be similar to 8-bit mono unsigned audio, I wouldn't try any other image format.
- markus92 2y agoJPEG 2000 is completely wavelet based, no DCT either, and it’s been around for a while. It’s used a bit in medical imaging where ringing artifacts are a big no no.