Answer the question
In order to leave comments, you need to log in
How to optimize images for Google Page Speed?
Hello, there is such a question about image optimization, at the moment I am optimizing images on the server using two utilities optipng and jpegoptim, which compress images by 20 percent maximum. But the same Google PageSpeed says that you can compress even more. Using the service https://tinypng.com it turns out to compress the image without losing quality by 80-90%. The question is what software do they use to compress so much? How to compress an image by 80% without losing quality??
Answer the question
In order to leave comments, you need to log in
The correct solution is not to compress images under Google page speed. And do it according to your requirements for their quality. If you compress to what Google specifies, everything looks like crap. You can't compress without losing quality.
If you use vds or a server, then I recommend installing https://www.modpagespeed.com/ I installed + Memcached a week ago and I can't get enough
AlexanderFedosienko , even a simple imagepng (phg) can be compressed to the desired size.
Empirically determine the compression ratio, and you probably already know the maximum frame sizes. A simple algorithm: cropped, compressed, saved.
Somewhere before, there was even such a class.
And here, I found it . Suddenly come in handy.
For png, try pngquant, it compresses noticeably better optipng
jpegoptim compresses without loss of quality by default, while tinypng clearly reduces it. You can either set the quality you need through the -m option, or generally specify the size you want to get through the -S option.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question