1.4.0
🎉 功能
- 支持多个
Key
叠加使用 - 支持
PicGo >= v2.3.1
的TinyPng
压缩 - 禁用
TinyPngWeb
并抛出异常 - 对错误的
Key
处理并跳过 - 处理
Key
的刷新问题:- 刷新有效
Key
- 刷新所有
Key
- 跨越份自动刷新有效
Key
- 刷新有效
- 加入
webp-converter
(更小的体积和更快的速度) - 加入
gift 2 webp
的能力- 使用
webp-converter
的gwebp
-
imagemin-gif2webp
- 使用
💥 对比
compress-next | compress | |||
---|---|---|---|---|
TinyPng | ✅ | version >= 2.3.1 | ❌ | 最高 version 2.3.0 |
✅ |
多个 Key 叠加使用 使用逗号分隔,自动清除空白符 |
✅ |
多个 Key 叠加使用 严格使用逗号,不可有空白符 |
|
✅ |
TinyPngWeb 已弃用 抛出异常并提示配置 Key |
❌ |
TinyPngWeb 已不可用 抛出空白异常 只能查看日志 网页返回 404 或则 413 |
|
✅ |
出现无效 Key,自动跳过 标记并不再访问,除非手动刷新 |
❌ |
出现无效 Key,抛出空白异常 查看日志,网页返回 404 |
|
✅ |
支持手动刷新有效 Key 支持手动刷新所有 Key 可设置是否跨月份自动刷新 Key |
❌ |
若有效 Key 达到使用次数,则不再访问 需要删除相应配置文件,才可重置 |
|
imagemin | ✅ |
mozjpeg: 支持本地有损压缩 |
✅ |
mozjpeg: 支持本地有损压缩 |
✅ |
imagemin-webp: 支持本地有损转换为 webp |
✅ |
imagemin-webp: 支持本地有损转换为 webp |
|
✅ |
imagemin-gif2webp: 支持 gif 本地有损转换为 webp |
❌ | 不支持 gif 转 webp | |
webp-converter | ✅ | jpeg, png, webp 压缩为 webp | ❌ | 不支持使用 webp-converter |
✅ | 支持 gif 压缩为 webp |