T
T
teet2017-01-09 12:13:34
Google
teet, 2017-01-09 12:13:34

How does google optimize images?

Hello!
on the PageSpeed ​​Insights site optimization check page, google gives a link to an archive with optimized images. download the archive and get 2 pictures: original and optimized google.
how to find out how much the image was compressed as a percentage? And what method was used for this?
There are ~9 gigabytes of images on our site, and I would like to optimize everything at once so that google does not issue a warning that images need to be optimized.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Taratin, 2017-01-09
@Taraflex

How does google optimize images?

He sucks at optimizing them. Only reduces the width with height if they are narrowed on the site. So that Google does not swear, just do not fit images into containers smaller than their sizes and do not reduce them through styles.
If you want free optimization. For png, I recommend using
pngquant --force --skip-if-large --speed 1 256
If you want to squeeze a little more, we go over PNGZopfli, but it's a long one.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question