JPEG XL is an outstanding format – much better compression ratios than JPEG or WebP, faster than AVIF, and a good lossless mode which generally beats PNG and WebP (unlike AVIF!). It also includes a magical method of losslessly compressing existing JPEGs, shrinking them on average 20% in a totally reversible manner. Happily, support for the format is picking up – decoding is enabled by default as of Chrome 155 and Firefox 158, and GNOME, KDE, macOS and Windows (the latter with the ‘JPEG XL Image Extension’) all handle it. Android is the outlier, but if we’re lucky we could see it included in Android 18 in 2027.
Immich gained support with version 3.4.0 in November 2026, and this was my signal to convert my decades of JPEGs. In general, this is as simple as running cjxl photo.jpg photo.jxl, but the process was more involved for HDR and ‘motion photos’.