Created
April 29, 2021 14:02
-
-
Save andrewodri/c19c47d8d5be543892efc2d480500202 to your computer and use it in GitHub Desktop.
Create morphed animated GIF with delay at beginning and end
This file contains hidden or 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/bash | |
brew install imagemagick | |
convert -delay 5 001.jpg 002.png -morph 20 -loop 0 gif:- | convert - \ | |
\( -clone 1 -set delay 300 \) -swap 1 +delete \ | |
\( +clone -set delay 500 \) +swap +delete \ | |
output.gif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment