WebPagetest Forums

Full Version: Compressing images
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
On advice I've spent some time compressing images using http://www.punypng.com. But I'm still failing the image compression test, for example:

FAILED (108.4 KB, target = 40.9 KB - savings of 67.6 KB)- http://www.southafrica.to/transport/Airl...20/SAA.JPG

What compression tools can I use to achieve the saving of 67.6KB?Huh
Punypng will not do a lossy compression, it just strips and optimizes the existing image. I don't know that there are any automated tools that will do it (and lossy compression is best left to the user right now anyway). The best way is to load the original file in an image editor (Photoshop, Gimp, whatever) and save out the jpeg, lowering the quality as low as you can while keeping the image visually acceptable.

The "standard" we use is to use a quality level of 50 with Photoshop's "save for web" feature but you might be able to do even better manually.

Here is a 37KB version of the file:
[attachment=56]

And the original 108KB version:
[attachment=57]
Thanks! I've got the Gimp & I'll start compressing.

I also got this error WARNING (7.8 KB, target = 6.1 KB - savings of 1.8 KB - Convert PNG to 8 bit)- http://www.southafrica.to/logo/southafrica.png

How do I convert PNG's to 8-bit?
That check is a bit iffy (and I'll get rid of it when we merge the Page Speed and Pagetest checks). It looks like you're doing a fair bit with alpha transparency for that image so it shouldn't be converted to an 8-bit png.
Thank Patrick, I'm now passing the image compression test Smile
Reference URL's