From 5a351dccb45b7de1bbf674a07b7924dcfe874acb Mon Sep 17 00:00:00 2001 From: tastytea Date: Fri, 16 Jun 2023 20:49:18 +0200 Subject: [PATCH] zsh: photoprep: rotate images according to metadata --- .config/zsh/functions/photoprep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/zsh/functions/photoprep b/.config/zsh/functions/photoprep index ee4e9b3..db75515 100755 --- a/.config/zsh/functions/photoprep +++ b/.config/zsh/functions/photoprep @@ -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