1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-30 18:17:57 +01:00
tldr/pages/common/gifsicle.md
2019-06-07 22:58:59 +01:00

459 B

gifsicle

Create GIFs. More information: https://www.lcdf.org/gifsicle.

  • Optimise a GIF:

gifsicle --batch --optimize=3 {{amin.gif}}

  • Make a GIF animation with gifsicle:

gifsicle --delay={{10}} --loop *.gif > {{anim.gif}}

  • Extract frames from an animation:

gifsicle {{anim.gif}} '#0' > {{firstframe.gif}}

  • You can also edit animations by replacing, deleting, or inserting frames:

gifsicle -b {{anim.gif}} --replace '#0' {{new.gif}}