【笔记】WebP转换器学习笔记 发表于 2026-12-02 阅读次数: undefined前言WebP转换器学习笔记 下载依赖1brew install webp 转换为WEBP格式 -q 80:压缩质量,范围为[0,100],缺省值为75-resize 1920 0:缩放,限制最大宽度,高度为0时等比例缩放 1cwebp <file_input>.jpg -o <file_output>.webp 还原WEBP格式为PNG格式1dwebp <file_input>.webp -o <file_output>.png 完成