NAME 

gifsicle - manipulates GIF images and animations

SYNOPSIS 

gifsicle [options, frames, and filenames]...

DESCRIPTION 

gifsicle is a powerful command-line program for creating, editing, manipulating, and getting information about GIF images and animations.

INTRODUCTION 

Without options, gifsicle acts like a filter: you feed it a GIF on standard input, and it writes that GIF on standard output. That means these two commands do the same thing:
% gifsicle < in.gif > out.gif
% gifsicle < in.gif | gifsicle | gifsicle > out.gif

Not too interesting. Most times you'll tell gifsicle to alter its inputs by giving it command line options. The [ -i ] option, for example, tells it to interlace its input files:

% gifsicle -i < pic.gif > interlaced-pic.gif

To modify GIF files in place, you should use the [ --batch ] option. With [ --batch , ] gifsicle will modify the files you specify instead of writing a new file to the standard output. To interlace all the GIFs in the current directory, you could say:

% gifsicle --batch -i *.gif

gifsicle is good at creating and manipulating GIF animations. The simplest way to create an animation is to give more than one input file, which gifsicle will combine to create a ``flipbook'' animation:

% gifsicle pic1.gif pic2.gif pic3.gif > animation.gif

Use options like [ --delay , --loopcount , and --optimize ] to tune your animations; see their descriptions for more details.

The bulk of this manual page indexes gifsicle's options and describes them in gory detail. New users may want to skip to the Examples section at the end.