Amazing Results – Optimising Image Size Using Smush.it

October 30th, 2008 by Stephen Cronin (Please wait) [Shortlink]

There are dozens of new web based applications being launched every day. Most are moderately useful, but it’s rare that I actually need to use one. After playing with them for a while, I normally abandon them and go back to the core tools I use to get things done.

Well, I found one that’s going right into my toolset: smush.it, the image optimisation web application.

I recently read yet another one of those posts that list free web based applications that you must use! There are too many of these posts going around to keep track of. You see the same applications listed again and again and the lists grow longer and longer. Tiresome, but I still read them!

I’d seen smush.it mentioned before, but on this particular day, I decided to click through and check it out.

To be honest, I was skeptical before I tried it. I thought I knew a bit about balancing quality and size for web images. I use Adobe Fireworks CS3, which is pretty good at creating images optimised for the web. So, when I tried running smush.it on my blog’s header image, I wasn’t expecting much.

Some background: When I created my new theme, the header image weighed in at 57KB. While not as big as some sites (Matt Mullenweg‘s is 134KB for example), it was more than I was comfortable with. I could have made it smaller by splitting it up into several smaller images, but I went with a single image to reduce the number of http requests and to speed up the page

Results time: smush.it reduced my header image from 57.3KB to 46.7KB. That’s a saving of about 19%!

Here’s the original 57.3KB file created in Fireworks (click to open):

Original Header Image

And here’s the 46.7KB smushed image (click to open):

Optimised Header Image

You can guess which ones up there in the page header now!

When I open the smushed image in Fireworks and save it again, it goes back to 57.3KB. That’s for a flattened PNG24 image (same as the smushed image). Whatever Fireworks is adding, it must be pretty big! The only visible difference I can see is that the smushed image is 96dpi, while the original is 71dpi.

I also tried smushing some other images and only got a saving of around 2%, but every little bit counts and if you can occasionally chop 19% off an image, then it’s well worth running. I’ll be a regular user of smush.it from now on.

I optimised the image via the smush.it site, but they’ve also got a Firefox extension (or bookmarklet for other browsers) that will smush all the images on a web page and provide you with them in a zip file for you to download!

Note: smush.it is a free service, which is going to be open sourced. No one asked me to write this post, I’m not getting paid, it’s just damn good!

Who’s behind this new web 2.0 offering? Stoyan Stefanov and Nicole Sullivan, who are part of the of the Exceptional Performance team at Yahoo! (the team responsible for YSlow). No wonder it’s good!

Anyone else out there had any success optimising images using smush.it? Matt Mullenweg, if you happen to come across this, smush.it can reduce your main header image by 6.45KB (or 4.81%). Happy smushing everyone!

Like this article? Plus One it!

Tags: , , , ,

There are 57 reponses to this article. Visit the comments page.

Leave a Reply

Anti-Spam Quiz:


Stephen Cronin

is Manager of Online Service Delivery at a Queensland Government department & has been a freelance WordPress developer/consultant since 2007
*Content on this site is my own and is not related to my employer

Hire me - I'm expensive, but I'm very good!

WordPress Plugins

Want a Custom WordPress plugin? See my Services page.

Greasemonkey Scripts

Visit my home page at Userscripts.org.