Created
February 3, 2012 21:04
-
-
Save thesven/1732594 to your computer and use it in GitHub Desktop.
Convert gif image frames to png files w/ the help of ImageMagick
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 | |
#requires the following: | |
#download and install macports - http://www.macports.org/install.php (.pkg installer) | |
#Install ImageMagick though macports - sudo port install ImageMagick | |
GIF_FILE=$1 | |
ROOT_EXPORT_NAME=$2 | |
convert $GIF_FILE -coalesce $ROOT_EXPORT_NAME%04d.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment