mogrify
This commit is contained in:
parent
d420f9ecd3
commit
d4da28e4f9
@ -78,7 +78,9 @@ handle_conversion_error() {
|
||||
photo="$1"
|
||||
new_photo="${photo%.*}.jpg"
|
||||
echo "Converting $photo to $new_photo using ImageMagick."
|
||||
convert "$photo" "$new_photo" && rm "$photo"
|
||||
mogrify -format jpg "$photo"
|
||||
mv "${photo%.*}.jpg" "$new_photo"
|
||||
rm "$photo"
|
||||
}
|
||||
|
||||
# Loop through each year directory
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user