Estou usando o otimizador de imagem EWWW para comprimir toda a minha JPEG e PNG imagens neste site para vários anos. EWWW makes use of OptiPng and PngOut and whilst these are powerful tools there are alternatives out there now that I wanted to test and compare.
I am aware of newer image formats that may offer smaller sizes but until they are broadly supported we will have to continue to work with PNG e JPEG.
I have already seen some comparisons showing some impressive performance by some other formats but I wanted to test this for myself with my realworld images. Based on the claims presented I decided to start with Pingo and see how much it reduced the size of my total image library.
Tem 3549 imagens que são uma mistura de PNGs, JPEGs, and Webp files and range in size from over 1000×1000 pixels to small thumbnails of 60×60 pixels.
Sem perdas
tamanho | |
---|---|
Original | 116Mb (121,848,736 bytes) |
após Pingo | 113Mb (118,310,160 bytes) |
3505 images were processed in 434 seconds which is impressively quick compared to the previous tools I’ve used. However, única 3455kb (3.37mb) foi salvo que é um 2.5% poupança.
Despite the lack of reduction, I will still be looking to migrate to pingo as it is vastly faster than the tools used by EWWW and achieves effectively the same result
Com perdas
tamanho | |
---|---|
Original | 116Mb (121,848,736 bytes) |
após Pingo | 94Mb (98,133,668 bytes) |
Lossy compression was much more impressive in size reduction with a 22.6Mb (19%) reduction but this is to be expected as my previous tools were not using lossy compression. I had decided in advance that a significant reduction would be needed for me to consider using lossy compression. This reduction is right on the borderline. The ultimate decision comes down to how much the smaller dimension (mais frequentemente servido) images saved — the majority of the savings were with original images not with the smaller images so I’m not persuaded that the reduction is worthwhile at this point, especially as I already serve webp images to over 50% of visitors and these gained the least
The next step is to figure out how to automate the process with pingo which isn’t supported by EWWW.
Achou útil? Informe-nos deixando um comentário abaixo. Se você deseja se inscrever, use o link de inscrição no menu no canto superior direito. Você também pode compartilhar isso com seus amigos usando os links sociais abaixo. Felicidades.
Deixe uma resposta