图片批量压缩到指定大小

声明:本功能所涉操作及结果均在本地进行及保存,任何内容均不会上传至云端。
  • 期望大小
  • 分辨率缩小
选择图片
{{item.name}}
大小:
{{(item.size/1024).toFixed(2) > 1024 ? (item.size/1024/1024).toFixed(2) + 'MB' : (item.size/1024).toFixed(2) + ' KB'}}
{{(item.compress_file.size/1024).toFixed(2) > 1024 ? (item.compress_file.size/1024/1024).toFixed(2) + 'MB' : (item.compress_file.size/1024).toFixed(2) + 'KB'}}
像素:
{{item.width + '×' + item.height}}
{{item.compressedDimension}}
保存 预览 删除
+
处理 {{fileList.length}} 张图片,共 {{(checkedSize/1024).toFixed(2) > 1024 ? (checkedSize/1024/1024).toFixed(2) + 'MB' : (checkedSize/1024).toFixed(2) + 'KB'}}
压缩后{{(downloadSize/1024).toFixed(2) > 1024 ? (downloadSize/1024/1024).toFixed(2) + 'MB' : (downloadSize/1024).toFixed(2) + 'KB'}},总压缩率为{{((Math.abs(1 - downloadSize / checkedSize)) * 100).toFixed(2) + "%"}}
开始压缩 批量保存 重新选择