Script Directory

Reduce Colors and apply Dithering

gifsicle --colors=64 --dither input.gif -o output.gif

Change Speed

gifsicle --delay=TIME INPUT_GIF -o OUTPUT_GIF

Generate an animated Gif from single Gif frames

gifsicle --delay=10 --loop out/*.gif > output.gif

With dithering and color setting:

gifsicle --delay=2 --colors 3 --dither --loop out/*.gif > output.gif

Generate a Gif from a Sequence of PNG files

ffmpeg -i %03d.png out.gif