Better Compression with jpegoptim

3.7k Views Asked by At

I'm trying to optimize my photos for google insight. I'm using jpegoptim for it.

I'm using

$jpegoptim --strip-all --max=60 myfile.jpg 

but still google insight says that it is possible reduce file size +60%

Then I tried

$jpegoptim --strip-all --max=0 myfile.jpg

this time google insight says that every thing is perfect. But now quality is very poor.

Then, I have tried

jpeg tran "jpegtran myfile.jpg > newmyfile.jpg 

but filesize is more than jpegoptim's.

So,what is the best way to compress image for google insight?

Here is the images :

http://webbayi.net/notoptimized.jpg
http://webbayi.net/optimized.jpg
http://webbayi.net/max0.jpeg
1

There are 1 best solutions below

0
GOZARCK On

I use nconvert to resize and then jpegoptim --force --max=70 --strip-icc --quiet