Gifsicle

Command-line tool for creating, editing, and optimizing GIF images and animations, with companion gifview and gifdiff programs.

Gifsicle is a command-line program for manipulating GIF files. Depending on the options given, it can merge several GIFs into an animation, explode an animation into its component frames, and change individual frames within an animation. It can also turn interlacing on and off, add transparency, set delays, disposals, and looping, add and remove comments, flip and rotate images, and change colormaps.

It can also optimize animations for space. The README credits the --lossy option to Kornel Lesiński and the adaptive tree method for GIF writing to Hans Dinsen-Hansen. Each program ships with a manpage named PROGRAMNAME.1.

Two companion programs are included. Gifview displays GIF images and animations on an X display, either as a slideshow showing one frame at a time or as a real-time animation. Gifdiff checks whether two GIF files have identical visual appearance, which the README says is mostly useful for testing GIF-manipulating software.

Gifsicle suits developers, web maintainers, and anyone scripting GIF creation or size reduction from the shell. It builds from source on UNIX with ./configure and make, and on Windows with Visual C or Borland C++ makefiles (gifview is not built on Windows). The build can omit gifview with --disable-gifview or gifdiff with --disable-gifdiff. It is licensed under GPL v2, with an alternative license available.

Alternatives & related tools

add a badge to your README

Maintain Gifsicle? Show that it's featured on trmn. The badge links back to this page.

Featured on trmn
Markdown
[![Featured on trmn](https://www.trmn.sh/badge/gifsicle.svg)](https://www.trmn.sh/tools/gifsicle?utm_source=badge)
HTML
<a href="https://www.trmn.sh/tools/gifsicle?utm_source=badge"><img src="https://www.trmn.sh/badge/gifsicle.svg" alt="Featured on trmn" height="20"></a>