Created
December 1, 2017 21:38
-
-
Save scribblemaniac/7ee7e507c31d1923598ff3179060198e to your computer and use it in GitHub Desktop.
Generates an animated GIF out of all PNGs in the current directory
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 | |
| # Made by Nick, converted to bash by scribblemaniac | |
| # Requires imagemagick in the path | |
| DNAME="untitled_animation" | |
| if [ $# -ge 1 ]; then | |
| DNAME="$1" | |
| fi | |
| convert -dispose None -loop 0 -delay 16 *.png "$DNAME.gif" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment