This commit is contained in:
2025-11-27 02:33:17 +00:00
parent 76c81548bf
commit c4528f1319
8 changed files with 79 additions and 36 deletions
+2 -2
View File
@@ -7,8 +7,8 @@
echo "Resizing large JPGs in $(pwd)"
for f in $(find . -regextype posix-egrep -regex ".*\.(jpg|JPG|JPEG|jpeg)$")
#echo "Resizing $(f)"
find . -regextype posix-egrep -regex ".*\.(jpg|JPG|JPEG|jpeg)$" -print0 | while IFS= read -r -d '' f
#echo "Resizing $(f)"
#do mogrify -resize 2800000@@\> -sampling-factor 4:2:0 -strip -quality 85% -colorspace RGB $f
do ~/Applications/magick "$f" -resize 8000000@@\> -sampling-factor 4:2:0 -strip -quality 85% "$f"
done