From 7ce3d8c8d5cb29a62b066985f37a65f360496a7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A5=87=E8=B6=A3=E4=BF=9D=E7=BD=97?= Date: Thu, 29 Jan 2026 11:10:03 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=B8=A6=E7=A9=BA?= =?UTF-8?q?=E6=A0=BC=E6=96=87=E4=BB=B6=E5=90=8D=E4=B8=8D=E8=AF=86=E5=88=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- iphone-sony-photo-format.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iphone-sony-photo-format.sh b/iphone-sony-photo-format.sh index 4308f5d..fd9741e 100755 --- a/iphone-sony-photo-format.sh +++ b/iphone-sony-photo-format.sh @@ -14,7 +14,7 @@ for file in *.{HEIC,heic,HEIF,heif,PNG,png,JPG,jpg}; do continue fi - # 跳过自己改的图片 + # 跳过自己改的图片 if [[ $filename == *"MODIFIED"* ]] || [[ $filename == *"MERGED"* ]]; then echo "文件名包含 MODIFIED 或 MERGED" continue @@ -49,7 +49,7 @@ for file in *.{HEIC,heic,HEIF,heif,PNG,png,JPG,jpg}; do fi # 使用 ImageMagick 处理图片 - magick "$file" -gravity center -resize "$new_size^" -extent "$new_size" -quality 80 output/$new_filename + magick "$file" -gravity center -resize "$new_size^" -extent "$new_size" -quality 80 "output/$new_filename" # fi # 使用 exiftool 抹掉图片的 gps 信息,并设置作者名称为 Paul