feat: iPhone 图片格式转换

This commit is contained in:
2023-11-04 18:37:58 +08:00
parent 926f2b571a
commit 7c7cd7d771
2 changed files with 52 additions and 3 deletions
-3
View File
@@ -42,9 +42,6 @@ for file in *.{HEIC,heic}; do
echo "匹配 $new_filename 成功,id 是 $id\n"
# 存储图片名到变量
filename=$(basename "$file")
# 判断图片是竖屏的还是横屏的
# 使用 identify 命令判断图片的宽度和高度
width=$(identify -format "%w" "$file")