feat: iPhone 图片格式转换
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user