Image Compressor
Image Compress ( Image )
点击或拖拽图片到这里
支持多张图片批量上传 · 可选 JPEG / PNG / WebP / GIF 等
JPEGPNGWebPGIFBMP
GIF animations are exported as a single static frame; BMP inputs produce the selected static format when decodable.
80%
更小体积
更高质量
不启用
填写后按目标体积在 1~当前质量值之间二分搜索(当前质量为上限);PNG 为无损格式,不支持目标体积。
Formula & Standard References
| Item | Formula | Source / Standard |
|---|---|---|
| Compression ratio | (original-compressed)/original ×100% | Compression ratio definition |
| Target size | Set in KB according to the limit | Output size limit |
| Quality factor | Value between 0 and 1 | JPEG quality factor |
⚠️ 使用说明与注意事项
- 本工具纯前端运行,图片不会上传到任何服务器,保护隐私安全
- JPEG 为有损格式,不支持透明背景(透明区域填充所选背景色,默认白色)JPEG is lossy and has no alpha channel; transparent areas are filled with the selected background (white by default).
- WebP 兼容现代浏览器(Chrome/Edge/Firefox/Safari 14+),压缩率最优
- PNG 为无损格式,质量滑块不生效;对照片压缩效果有限
- 「最大尺寸」会等比缩放图片,使长边不超过设定值
- 部分旧浏览器可能不支持 WebP 输出,如遇失败请改选 JPEG