Test Image 3 There are several JPEG image compression tools available that takes a jpeg file and reduces the size of the photo without altering the quality. But which one works best for posting images on a website? I was curious, so I took the tools I usually use and put them through the compress photo function. All applications tested claims not to lower the quality of the image. I’m concentrating on testing jpeg files here, and do a followup article later with results for optimizing PNG files.

The images and source

I exported all the pictures from Adobe Lightroom 4 as jpg with a quality setting of 80, which is the one I usually use when uploading to my blog, Flickr or 500px. I’m not a big fan of jpeg artifacts, but you could get away with much lower quality setting depending on the picture. I tried to take different kind of images, where some contain a lot of details, and other with less, to see what kind of effect that has on the image compression result.

Applications tested

JPEGmini Logo

JPEGmini

Download on the Mac App StoreJPEGmini is an excellent image compressor application on Mac OS X. This is a tool primarily for compressing large size images and does a fantastic job of it. I’ve included lower resolution pictures just out of curiosity. And it seems like it’s a good match for some smaller images as well. But if you have to send large photos with the quality of the original still intact, this is the obvious choice.The JPEGmini logo, a stick figure squeezed between two arrows

ImageOptim

ImageOptim is a popular (and free) image optimizer for Mac OS X. It handles JPEG, PNG and GIF files. By utilizing several Open Source programs like PNGOUT, AdvPNG, Pngcrush, OptiPNG, JpegOptim, jpegrescan, jpegtran, and Gifsicle it has lots of muscle for jpeg compression.

For Microsoft Windows users, there are similar apps, like RIOT, but I haven’t tried it. YMMV[1].

EWWW Image Optimizer

A Wordpress plugin that automatically compresses uploaded images. It has a lot of settings for optimizing the compression. This plugin is for those who host their server because you need to be able to install all the Linux commands requirements for the plugin. It uses jpegtran, OptiPNG/PNGOUT, and gifsicle for compression. There is an alternative for those who don’t have shell access and the ability to install the extra software needed on the Wordpress server. It’s called smush.it! But it sends all the images to Yahoo for compression, and there’s been a lot of problems getting it to work reliably.

1024 pixels long side image

Applicationimage1.jpgimage2.jpgimage3.jpgimage4.jpgimage5.jpg
Original380792161510132392123245197888
EWWW Image Optimizer32434112369110232196509164443
ImageOptim34020313128111067498442168892
JPEGmini22007010209211079367766135362

1024px diagram image

Results in reducing image size

Here you can see the power of JPEGmini in action. As you can see, the size of the first large image is almost cut in half using JPEGmini. In all pictures except image3, which is mostly white background, JPEGmini is the clear winner. On image3, EWWW Image Optimizer wins with about 8kb. JPEGmini were designed to compress the size of high-resolution pictures, but it still holds up well with images meant for web publication.

800 pixels long side image

Applicationimage1.jpgimage2.jpgimage3.jpgimage4.jpgimage5.jpg
Original2464131089519343279577140135
EWWW Image Optimizer200660771906797557967109215
ImageOptim209333817827326958811111842
JPEGmini156679723477401748642100789

Results in reducing image size

Now the results are closer, with JPEGmini still maintains a lead, depending on the complexity of the image.

500 pixels long side image

Applicationimage1.jpgimage2.jpgimage3.jpgimage4.jpgimage5.jpg
Original11714361239520934260781325
EWWW Image Optimizer8080734950312122486252324
ImageOptim8369336650333222497853557
JPEGmini7911946833470063224659335

500px diagram image

Results in reducing image size

With images in the 500-pixel range, now the choice of tools is between EWWW Image Optimizer and ImageOptim. There’s a difference of a couple of bytes to EWWW Image Optimizer’s advantage.

300 pixels long side image

Applicationimage1.jpgimage2.jpgimage3.jpgimage4.jpgimage5.jpg
Original6306639997323612817451919
EWWW Image Optimizer3017415916136311127023749
ImageOptim3113216512141791127024324
JPEGmini5333934004304572387843501

300px diagram image

Results in reducing image size

Now EWWW Image Optimizer and ImageOptim is the definitive choice. The difference is negligible between them, but a small advantage when compared to EWWW Image Optimizer. The similarities in results are not surprising because both utilities use the same engines, just with minor tweaks in the settings.

200 pixels long side image

Applicationimage1.jpgimage2.jpgimage3.jpgimage4.jpgimage5.jpg
Original3705826619214802015233332
EWWW Image Optimizer1450686407206650712730
ImageOptim1482488457289650712945
JPEGmini3188523651205151808329266

200px diagram image

Results in reducing image size

This confirms earlier findings, which JPEGmini works best with higher resolution images. EWWW Image Optimizer still wins over ImageOptim, but with just a couple of hundred bytes or they are the same size.

Conclusion

If you are about to upload sizeable high-quality photographs to your website or a photo sharing site, you can’t beat JPEGmini. The compression results are fantastic with no visible artifacts. It’s a steal and an essential tool for anyone dealing with photographs. It allows you to email a full res photograph from a high-end camera without losing image quality. And it saves bandwidth when uploading pictures to online services.

ImageOptim is an excellent standalone application for Mac OS X and its free! So this is the goto application if you’re compressing smaller jpeg, png or gif images. Drag and drop the picture, and you’re done. It’s an excellent choice if you can’t install EWWW Image Optimizer, or going to use the images for something else than publishing to a Wordpress site.

But for publishing smaller images to your website if it’s running Wordpress and you’re allowed to install software on the server, EWWW Image Optimizer is the way to go. All you have to do is to upload your image to Wordpress, and EWWW Image Optimizer automatically compresses the pictures for you. And it works wonders with PNG images as well. It even has a bulk compress command for compressing photos uploaded before you installed the plug-in.

Images used for the test

The JPEGmini logo again, standing in where the test photos should be


  1. Your Milage may Vary.