Skip to content

Instantly share code, notes, and snippets.

@doug
Created December 16, 2014 21:47
Show Gist options
  • Save doug/dec69317b167ecf685cd to your computer and use it in GitHub Desktop.
Save doug/dec69317b167ecf685cd to your computer and use it in GitHub Desktop.
drop every other frame of a gif
# http://graphicdesign.stackexchange.com/questions/20908/how-to-remove-every-second-frame-from-an-animated-gif
gifsicle "$1" --unoptimize $(seq -f "#%g" 0 2 $numframes) -O2 -o "$2"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment