Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Compress menu images #734
As per https://groups.google.com/forum/#!topic/mathjax-dev/vy76UgdM7kA, the menu PNGs can be optimized further.
OptiPNG does an excellent job at optimizing the filtering that takes place before the DEFLATE compression is applied. However, its implementation of the DEFLATE algorithm itself is basically standard zlib, which leaves quite a bit of room for improvement.
AdvanceCOMP absolutely excels at optimizing DEFLATE compression, but its handling of the PNG-specific pre-DEFLATE filtering leaves something to be desired.
I would love to see the functionality of these two tools merge, but until that happens, this is how I recompress all of my PNGs:
(I usually invoke this in parallel using