Reducing image sizes somehow else (Smush.it is dead)

With images for this blog, I reduce their sizes with Yahoo’s Smush.it utility.  The benefit of this is that it leads to small image sizes, which means less for your web browser to download.

This image, with Smush.It, reduces from 436KB to to 386KB:
Bendigo Tram No. 21
Unfortunately, Smush.It has been not so reliable of late, so I was thinking of writing my own replacement.  It’s not difficult to replicate what Smush.It has done, essentially:

  • if the image is a GIF, convert to PNG
  • optimize PNG images with pngcrush.
  • optimize JPEG images with jpegtran.

So it would be fairly simple to code something up, which calls pngcrush and jpegtran.

Or I could Google to see what’s out there, and see what other people have done.  After an hour of stuffing about, I finally settled on Radical Image Optimization Tool (RIOT)
Radical Image Optimization ToolThe Bendigo Tram image reduces down from 436KB to 126KB.  The image quality looks the same to me, and it’s good enough for a web blog.   So I’ll be using it in future for pre-processing images for this blog.  Plus it has “batch” processing, which I’d find useful as well.

If I was using a Macintosh, I’d look at using ImagOptim

References: