Gifsicle

Apply Steinberg Flyod Dithering in Gifsicle

shell
gifsicle -O3 --colors 4 --dither input.gif -o output.gif

Convert to Black and White

shell
gifsicle --colors 256 --use-col=gray input.gif -o output.gif

Drop every second Frame

This doubles the speed and cuts the file size by 50%.

todo

Hard Conversion to Black and White

shell
gifsicle --use-colormap bw flip2.gif -o output.gif

Reduce Colors and apply Dithering

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

Change Speed

shell
gifsicle --delay=TIME INPUT_GIF -o OUTPUT_GIF

Generate an animated Gif from single Gif frames

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

With dithering and color setting:

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

Steinberg-Floyd Dithering with Gifsicle

shell
gifsicle -O3 --colors 6 --dither turmoil.gif -o output.gif