Created
July 19, 2018 15:13
-
-
Save Battleroid/fd19adabdd7c2964df971592b88d8b4b to your computer and use it in GitHub Desktop.
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
mkdir tmp | |
for i in `seq 1 100`; | |
do | |
let "owo=100-$i" | |
echo $owo | |
convert -liquid-rescale $owo% $1 ./tmp/$i.png | |
convert -scale 300x300 ./tmp/$i.png ./tmp/$i.png | |
done | |
convert -delay 1 -loop 0 ./tmp/{1..100}.png ${2:-result.gif} | |
rm -rf ./tmp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment