← Back to context

Comment by mnw21cam

1 day ago

It's not the PNG encoding that causes the loss. The optimisers are literally creating a different image and then losslessly encoding it as PNG.

But it's also a valid point.

Arguably the same is true of JPEG. The format itself can record all the frequencies in full detail (with some tiny rounding errors I'm ignoring here), but the optimizer creates a different image by cutting elements that are less important and wasteful of bits. And then that different image is encoded losslessly.