He succeeded in trimming only 6 bytes off of that before he abandoned transparency and that was at the cost of getting errors in some programs with the result (no thanks).
* PNGGauntlet - http://pnggauntlet.com/ - Combines PNGOUT, OptiPNG, and DeflOpt.
Matt Wrock documented the creation of the tool, including details on the approaches taken by tools like OptiPNG: http://www.mattwrock.com/post/2011/09/05/Convert-32-bit-PNGs...
I think the service simply uses that program behind the scenes.
> Mostly pngquant (the new version), optipng and
> advpng. We are still tuning parameters and
> swapping in and out tools based on our benchmarks
> and testing suite.
from their debut on HN back in June, where they caught a lot of flack for being a web service:I just wish they had an API/offline utility.
curl --data-binary @your-file.png http://tinypng.org/api/shrinkPNG: advpng -z4, optipng -o7, advdef -z4
JPG: jpegtran -copy none, jpegrescan (that also uses jpegtran)
GIF: gifsicle -O3
They are quite time consuming (especially in case of PNG), but if you know any better sequences, please let me know!
jscl.exe -d -j -n -r -s ¤.jp¤
Instantly gets rid of more jpg junk.
Edit: replace asterixes with ¤
For the mere mortals out there looking to make their GIF, JPEG, and PNG images smaller (and websites faster), I highly recommend ImageOptim (http://imageoptim.com/). This Mac-only tool combines all of the libraries below to compress your images down to the (nearly if not the) smallest, cross-system compatible size.
If you're Mac based, try this:
* ImageOptim http://imageoptim.com/
If you're Linux based, try these:
* PNGOut - http://www.advsys.net/ken/util/pngout.htm
* advpng - http://advancemame.sourceforge.net/doc-advpng.html
* pngcrush - http://pmt.sourceforge.net/pngcrush/
* optipng - http://optipng.sourceforge.net/
* jpegoptim - http://www.kokkonen.net/tjko/projects.html
* gifsicle - http://www.lcdf.org/gifsicle/