2014-02-19 00:11:24 +04:00
|
|
|
# gifsicle
|
|
|
|
|
2018-01-18 21:48:27 +03:00
|
|
|
> Create GIFs.
|
2014-02-19 00:11:24 +04:00
|
|
|
|
2016-01-16 17:12:05 +03:00
|
|
|
- Make a GIF animation with gifsicle:
|
2014-02-19 00:11:24 +04:00
|
|
|
|
2014-02-20 16:01:42 +04:00
|
|
|
`gifsicle --delay={{10}} --loop *.gif > {{anim.gif}}`
|
2014-02-19 00:11:24 +04:00
|
|
|
|
2016-01-16 17:12:05 +03:00
|
|
|
- Extract frames from an animation:
|
2014-02-19 00:11:24 +04:00
|
|
|
|
2014-02-20 16:01:42 +04:00
|
|
|
`gifsicle {{anim.gif}} '#0' > {{firstframe.gif}}`
|
2014-02-19 00:11:24 +04:00
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- You can also edit animations by replacing, deleting, or inserting frames:
|
2014-02-19 00:11:24 +04:00
|
|
|
|
2014-02-20 16:01:42 +04:00
|
|
|
`gifsicle -b {{anim.gif}} --replace '#0' {{new.gif}}`
|