Ever wanted to run a single command in your website’s images directory and have every image losslessly optimized (compressed) in place? Now you can, with the smusher gem. I just ran it on our images dir and found an overall savings of 10%. If you’re not as rigorous as I am about saving images from Photoshop with good compression, the savings would be even greater!
This gem uses the smush.it service. I highly recommend this tool. Great job, grosser!


your welcome!
i got addicted when i compressed some of the fam fam icons to merely 7% of their original size :D
and i do not have to worry about our designers not properly exporting their jpgs/pngs…
Being a Python guy, I couldn’t resist creating a Python version (I needed to use import it directly to use in a Fabric script)… just in case anyone’s interested.
I don’t know about JPEG, but what’s wrong with “find . -name ‘*.png’ -exec optipng -o7 {} +”? I guess it’s not enterprisey enough.