Last active
December 24, 2022 15:29
-
-
Save mrprofessor/7e211409c2bea046e13f348a6ae471d9 to your computer and use it in GitHub Desktop.
Delete frames using gifsicle
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
#gifsicle -O3 -k 8 --lossy=80 -o tty-small.gif js_demo.gif | |
#gifsicle --lossy=80 -o tty-small.gif js_demo.gif | |
#gifsicle --delete "#0-12" -o tty-small1.gif tty-small.gif | |
#gifsicle tty-small.gif --delete "#0-12" -o tty-small.gif | |
# Make a copy of the file | |
cp $1 $2 | |
gifsicle "$1" --delete "#1-10" -o "$2" | |
gifsicle "$2" --delete "#100-105" -o "$2" | |
echo "script completed" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
gifsicle input.gif output.gif