我一直在使用EWWW图像优化器来压缩所有的我 JPEG and PNG 本网站上的图像数年. 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 and 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.
有 3549 其是PNG图像的混合图像, JPEG文件, and Webp files and range in size from over 1000×1000 pixels to small thumbnails of 60×60 pixels.
无损
尺寸 | |
---|---|
Original | 116MB (121,848,736 字节) |
Pingo的后 | 113MB (118,310,160 字节) |
3505 images were processed in 434 seconds which is impressively quick compared to the previous tools I’ve used. 可是, 只有3455kb (3.37MB) 保存这是一个 2.5% 保存.
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
有损
尺寸 | |
---|---|
Original | 116MB (121,848,736 字节) |
Pingo的后 | 94MB (98,133,668 字节) |
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 (更多的时候担任) 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.
有你自己的一些想法? 下面放纵自己通过评论! 如果您想订阅,请使用菜单上的订阅链接右上方. 您还可以通过使用下面的链接社会分享这与你的朋友. 干杯.
发表评论