png批量转换为webp
New image formats like WEP and MOZJPEG will be a major boost to load time on the web. The majority of page load and render time is usually attributed to unoptimized images, so these new formats will make both mobile and desktop load times faster. I've taught you how to detect WEBP support but we've not explored how to create WEBP images; let's have a look at how easy it is to convert JPG, PNG, and even animated GIF to WEBP.
诸如WEP和MOZJPEG之类的新图像格式将极大地增加Web上的加载时间。 大多数页面加载和渲染时间通常归因于未优化的图像,因此这些新格式将使移动和桌面加载时间更快。 我已经教过您如何检测WEBP的支持,但是我们还没有探讨如何创建WEBP图像。 让我们看一下将JPG,PNG甚至动画GIF转换为WEBP有多么容易。
将JPG和PNG转换为WEBP (Convert JPG and PNG to WEBP)
My favorite open source image