News for hackers. Stuff that matters.
Re:Show HN: OnlyJPG – Client-Side PNG/HEIC/AVIF/PDF/etc to JPG by mikae1 on Saturday October 18, 2025 @04:28AM (#45625832)
>> What should we use instead?

> AVIF, JpegXL, maybe even WebP (lossless mode).

Definitely not lossless AVIF. It is less efficient than lossless WebP. WebP is supported everywhere, but is not much more efficient than optimized lossless PNG. Lossless JpegXL has the best lossless compression but can't be used for web without fallbacks.

So, for offline archival: JpegXL.

For web use without fallbacks: lossless WebP.

For web use with lossless WebP fallback: JpegXL.

There are no comments on this comment yet.