Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I love that Google's Page Speed is able to losslessly compress a lot of my images, but I'd love to make it part of my workflow, prior to uploading a site and making it live.

Is there anything I can run locally to give me the same lossless compression? I currently export images from Export For Web from Photoshop, and use a little application called PNGCrusher to reduce file size of PNGs.

I'd love to find a faster way though than saving out and replacing the individual images from Page Speed's results.

share|improve this question
    
Doesn't mod_pagespeed already do this for you? Or are you unable to use the apache module? If so, you can use mod_deflate to achieve the same thing. –  Lèse majesté Dec 13 '11 at 23:08

3 Answers 3

up vote 5 down vote accepted

If you're using the Google Page Speed extension for Firefox, then a copy of the optimized images (as well as JavaScript and CSS files) are put in a temporary folder.

http://code.google.com/speed/page-speed/docs/using_firefox.html#advanced

Google Page Speed extension for Firefox

You can then take these out, cleanup the file names, and reuse them.

Download Google Page Speed extension for Firefox

share|improve this answer
    
I'm actually using PageSpeed in Chrome. I doesn't look like Chrome does that. –  Keefer Dec 23 '11 at 18:59
    
@Keefer you seem to be right...not sure why they wouldn't do this. Not a big problem for me, i use Chrome for day-to-day browsing, and Firefox for dev, as although Chrome is faster in general, Firefox still has a better range of extensions for developers, IMO. –  nthonygreen Dec 26 '11 at 1:47

You could try http://www.smushit.com/ysmush.it/

Click "Uploader" and select all images that needs to be "smushed".

Your files will be uploaded to their server, become optimized without quality loss, and you will then be able to download all images in a zip file.

share|improve this answer
    
Really looking for a local application, though this may be a decent web-based solution to try. –  Keefer Dec 15 '11 at 19:07

For MacOSX ImageOptim optimizes the images. Internally it uses the same tools used by google page speed.

http://imageoptim.com

share|improve this answer
1  
Why was this voted down? ImageOptim is FOSS, and you can bulk process images. And, as he stated, it uses the same techniques to compress images as PageSpeed: stripping out meta data and using Huffman tables to losslessly compress JPEGS, and for PNG it literally uses the same exact optimizer that PageSpeed uses (OptiPNG). –  Lèse majesté Mar 27 '13 at 8:33

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.