# 更新
照片压缩
更新内容:
增加判断,根据是否为照片采用不同的逻辑;
完成通知改为 Notification,可用 3D Touch 进行按压预览;
l10n 完善;
如果在 URL 的末尾加上 "&latest=true",则会直接对最后一张图片进行处理。
脚本简介:
对 JPEG JPG 和 PNG 格式的图片进行压缩,对图片的质量损失较小;
如果为 “照片”,则会保留完整的 EXIF 信息,避免破坏时间线;
可在 JSBox 主应用内和分享菜单中运行;
也可添加到桌面(在 URL 的末尾加上 "&latest=true",则会直接对最后一张图片进行处理)。
注:不支持 HEIF。
The PhotoCompress script uses piexif to process exif info and uses tinyJPG(also known as tinyPNG) to compress photos. You can compress JPG JPEG and PNG. If you choose a 'photo', your exif info will be saved, so your timeline will not be messed up.
Run in JSBox app or share sheet.
You can also add it to home screen ( if you add "&latest=true" , the script will fetch latest photo directly).
安装链接
Click To Install 注:安装链接有变动。