1
0
Fork 0

zsh: photoprep: rotate images according to metadata

This commit is contained in:
tastytea 2023-06-16 20:49:18 +02:00
parent ad9ca238b6
commit 5a351dccb4
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ mkdir -p photoprep
for file in ${@}; do
newfile=photoprep/${file##*/}
newfile=${newfile%.*}.${format}
magick -quality ${quality} ${file} -strip -resize ${size} ${newfile}
magick -quality ${quality} ${file} -auto-orient -strip -resize ${size} ${newfile}
print -n '.'
done
print