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

I just heard of pngcrush for the first time. I usually use optipng. Any insight which is better?


There's a good comparison between multiple png optimizers here: http://optipng.sourceforge.net/pngtech/optipng.html

> pngcrush by Glenn Randers-Pehrson, available at http://pmt.sourceforge.net/pngcrush, is an open-source program that iterates over PNG filters and zlib (Deflate) parameters, compresses the image repeatedly using each parameter configuration, and chooses the configuration that yields the smallest compressed (IDAT) output. At the user's option, the program can explore few (below 10) or many (a brute-force traversal over more than 100) configurations. The method of selecting the parameters for "few" trials is particularly effective, and the use of a brute-force traversal is generally not recommended.

In addition, pngcrush offers a multitude of extra features, such as recovery of erroneous PNG files (e.g. files containing bad CRCs), and chunk-level editing of PNG meta-data.


In the end it does not matter since they did not use any of them. If I can reduce size of that page in 2 minutes, without any webdev background and using the only tool I could remember if few seconds than there is something seriously wrong with the way they treat visitors.


maybe they aren't familiar with this tool. perhaps you could email them and suggest it to them, and then they would improve their site.


https://pngquant.org is worth looking at as well. It's lossy, so not for every image, but the size reduction is often dramatic.


I realise this doesn't answer your question, but there's a nice macOS GUI with multiple crushers built-in:

https://imageoptim.com/


Also take a look at ImageAlpha - https://pngmini.com/ - great for single images (happy fan of both!).


About the same. But, I found this little benchmark: [0]

[0] http://pointlessramblings.com/posts/pngquant_vs_pngcrush_vs_...


I used to hear good things about Ken Silverman's PNGOUT but not recently.




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

Search: