top | item 45618291

(no title)

tinyspacewizard | 4 months ago

What should we use instead?

discuss

order

_bent|4 months ago

For final export? AVIF, JpegXL, maybe even WebP (lossless mode).

PNG kinda sucks for high resolution stuff because decoding is extremely slow. The way PNG does lossless compression also only really works with flat graphic design, anything with gradients or texture blows up the file size.

mikae1|4 months ago

>> 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 JPEG XL has the best lossless compression but can't be used for web without fallbacks.

So, for offline archival: JPEG XL.

For web use without fallbacks: lossless WebP.

For web use with lossless WebP fallback: JPEG XL.

mikae1|4 months ago

>> 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.