Created
January 2, 2022 12:12
-
-
Save MartinMSPedersen/513171d9c07941f6ce6a2e75850b238d to your computer and use it in GitHub Desktop.
Animated gif
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for f in *jpg | |
do | |
convert "$f" -resize '640x480' -background black -gravity center -extent 640x480 "$f" | |
done | |
convert -delay 300 -loop 0 *jpg output.gif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment