tldr/pages/common/gifsicle.md

21 lines
459 B
Markdown
Raw Normal View History

# gifsicle
2018-01-18 18:48:27 +00:00
> Create GIFs.
2019-06-07 11:58:24 +01:00
> More information: <https://www.lcdf.org/gifsicle>.
2018-07-05 16:27:52 +01:00
- Optimise a GIF:
`gifsicle --batch --optimize=3 {{amin.gif}}`
- Make a GIF animation with gifsicle:
2014-02-20 12:01:42 +00:00
`gifsicle --delay={{10}} --loop *.gif > {{anim.gif}}`
- Extract frames from an animation:
2014-02-20 12:01:42 +00:00
`gifsicle {{anim.gif}} '#0' > {{firstframe.gif}}`
- You can also edit animations by replacing, deleting, or inserting frames:
2014-02-20 12:01:42 +00:00
`gifsicle -b {{anim.gif}} --replace '#0' {{new.gif}}`