Optimize Images for Google Page Speed

728 views Asked by At

i'm tryng to optimize the images from my webpage to fit the google pagespeed test. But i didnt get how to compress the files with the tools provided by google on the size that google wants to have.

So i use jpegoptim and jpegtran for jpegs with this command: jpegoptim.exe FILENAME jpegtran.exe -copy none -debug -optimize -copy none -outfile FILENAME FILENAME

Where FILENAME is the fullpath to the img file. In most cases the files would be a bit smaller, but not that small if i download it from google(over the PageSpeed Insights Tool). Can anyone help me to find out the right parameters or another tool(working on windows) that gives me perfect results(or results that are accepted by Google).

THanks in advance, J. Doe ;)

1

There are 1 answers

0
Maky On

In the end of the Google page speed insights page is a link where you can download optimized resources for your website. Link is called: Download optimized image, JavaScript, and CSS resources for this page.