Created
March 20, 2018 13:37
-
-
Save divyanshu013/6945438d653812f898b81cdc9e92db05 to your computer and use it in GitHub Desktop.
Convert the first frame of gifs in a directory to png images
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
for f in *.gif; do | |
convert $f'[0]' $f'.png' | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment