Bilder vom iPhone bearbeiten

This commit is contained in:
rene 2026-02-19 10:55:48 +01:00
parent 370f5109b5
commit 029c55c06e
6 changed files with 80 additions and 10 deletions

View file

@ -0,0 +1,12 @@
#!/bin/bash
# HEIC zu JPG konvertieren UND auf max. 1920px verkleinern
for file in *.{heic,HEIC}; do
if [[ -f "$file" ]]; then
output="${file%.*}.jpg"
heif-convert -q 90 "$file" "$output"
if [[ -f "$output" ]]; then
mogrify -resize 1920x1920\> "$output"
fi
fi
done