Created
June 13, 2014 17:17
-
-
Save gnclmorais/4f16e00dbc0fbc8332aa to your computer and use it in GitHub Desktop.
Concatenates a bunch of sequencial pictures into a transitional .gif file
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
#!/bin/sh | |
# | |
# Grabs all .png files in a folder and concatenates them into a .gif file | |
# | |
# Options: | |
# -delay Delay between images in centisecond | |
convert -delay 75 *.png result.gif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
convert -delay 75 -alpha remove -background "#FFFFFF" *.png result.gif
Remove transparency and add a white background instead.
This also works with
PNG
toJPG
conversions.