Current time: 12-14-2017, 04:12 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Compressing images
09-18-2010, 01:00 AM
Post: #1
Compressing images
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
Find all posts by this user
Quote this message in a reply
09-18-2010, 01:11 AM (This post was last modified: 09-18-2010 01:13 AM by pmeenan.)
Post: #2
RE: Compressing images
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:
   

And the original 108KB version:
   
Visit this user's website Find all posts by this user
Quote this message in a reply
09-18-2010, 01:34 AM
Post: #3
RE: Compressing images
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?
Find all posts by this user
Quote this message in a reply
09-18-2010, 01:38 AM
Post: #4
RE: Compressing images
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.
Visit this user's website Find all posts by this user
Quote this message in a reply
09-18-2010, 07:14 PM
Post: #5
RE: Compressing images
Thank Patrick, I'm now passing the image compression test Smile
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)