Created
March 7, 2022 14:46
-
-
Save sea-witch/db370fdf2cd66c247a49ebadecb5bc17 to your computer and use it in GitHub Desktop.
Make a gif from a list of images. Depends on Imagemagick
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
#!/bin/sh | |
echo $DATE | |
SOURCE="./snaps/*a.png" | |
DEST="out-" | |
DEST+=`date '+%Y-%m-%d_%H%M%S'` | |
DEST+=".gif" | |
echo $DEST | |
convert -delay 70 \ | |
-loop 0 \ | |
$SOURCE \ | |
$DEST | |
# -scale 1000 \ | |
# -distort SRT 180 \ | |
# -scale 180 \ | |
# -posterize 2 \ | |
# +level-colors "#F26B8F",pink \ | |
# +level-colors plum1,PaleTurquoise1 \ | |
# +level-colors MediumForestGreen,pink \ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment