Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.

 help



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.



Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: