PNG 格式能完美处理透明度,但传输的文件大小却高达兆字节,而你真正需要的可能只有几千字节。WebP 格式保留了 alpha 通道,同时大幅减少了文件大小——通常能减少一半。
或者将图片拖放到这里。
支持PNG
支持PNG
拖入一个或多个PNG文件。该工具会自动检测您的PNG文件是否具有Alpha通道,并在输出中保留该通道。
包含纯色、文本或用户界面内容的 PNG 图片会编码为无损 WebP 格式(通常体积缩小 30-40%)。照片级 PNG 图片会编码为质量为 80 的有损 WebP 格式(体积缩小 50-70%)。
输出文件包含 Alpha 通道、原始尺寸和颜色配置文件。文件名保留其基本形式,但扩展名为 .webp。
insight-to-webp-reason
相同的透明度,更小的像素
Portable Network Graphics
Requires libpng-1.0.11 or later, libpng-1.2.5 or later recommended. The PNG specification does not support pixels-per-inch units, only pixels-per-centimeter. To avoid reading a particular associated image profile, use -define profile:skip=name (e.g. profile:skip=ICC).
Weppy image format
Requires the WEBP delegate library. Specify the encoding options with the -defineoption See WebP Encoding Options for more details.
Alpha 处理、无损模式和实际节省。