Second pass

Javi said on 03/27/2018

Hello,

I've seen that with some PNGs, Pingo does not make a full optimization in just one pass, if you run it a second time it optimizes the PNG more.

For example, with this PNG:

photo.png

If you execute this: pingo -s8 -strip=3 -pngquality=85 photo.png

It will reduce 21.69KB, but if you execute Pingo again (even as lossless): pingo -s8 -strip=3 -lossless photo.png

It will reduce 119 bytes more.

cédric (dev) said on 03/28/2018

see optimization and compression post — note that you could have minor savings if you do more than one pass, regardless of the level or if it is lossy or not

comment this