What is this?
Gifsicle is a command-line tool for creating, editing, and getting information about GIF images and animations. Making a GIF animation with gifsicle is easy:
gifsicle --delay=10 --loop *.gif > anim.gifExtracting frames from animations is easy too:
gifsicle anim.gif '#0' > firstframe.gifYou can also edit animations by replacing, deleting, or inserting frames:
gifsicle -b anim.gif --replace '#0' new.gif
Some more gifsicle features:
Two other programs are included with gifsicle: gifview is a lightweight animated-GIF viewer which can show animations as slideshows or in real time, and gifdiff compares two GIFs for identical visual appearance.
Gifsicle is freely available. All you’ll need is an ANSI C compiler. I welcome changes, bug reports, complaints, etc.: mail me at firstname.lastname@example.org!
Let the person who isn’t actually buying anything but is rather downloading something for free, beware.
Q: How do you pronounce “gifsicle”?
Q: What about patents?
Other GIF tools
Whirlgif (an older version) merges single GIFs into animations, but cannot extract frames, edit animations, or use animations as input files. It either uses local color tables, or it changes input colors by only using colors from the first GIF frame. It also cannot handle complicated input transparency or more than 256 colors total. Gifsicle now uses its adaptive tree method for LZW encoding (thanks!) which makes it basically as fast as Whirlgif.
GIFMerge is based on an earlier program called txtmerge. Like Whirlgif, it cannot extract frames or edit animations. It also cannot optimize animations. Resulting animations always have local color tables. Doesn’t deal with input transparency.
Giftool does batch mode, comments, interlacing, and information, but doesn’t handle animations.
Of course, there are hundreds of programs available for Macs and Windows boxes!
There’s at least one GIF optimizer available via the Web. Submit a GIF URL to OptiView, and it spits out several impressively optimized versions for you to select from. As of mid-1998, gifsicle -O2 usually did about as well as GIF Wizard, OptiView’s predecessor.
This software is dedicated to the memory of Anne Dudfield, who named it, and who was an incredible friend and ridiculously awesome woman.
“I would even go so far as to say that it is stunning.”
Anne “Idiot” Dudfield
“[Gifsicle is] 10x faster than our previous converter.... The images are significantly smaller, too.”
“I just downloaded Gifsicle, and would like to make two small points:
“YESYESYESYESYES I HAVE A DENTIST APPOINT MENT THAT DAY!!!
IT’S A VERY IMPORTANT DENTISST APOINTMENT, AS THEY ARE FILLING A CAVITY FROM WHICH THE LAST FILLING HAD FALLEN OUT, AND IT IS GETTING SENSITIVE!!!
CAN’T MISS THAT DENTIST APPPOINTMENT!!! CAN’T RESCHEDULE IT, AS THEY ARE VERY BUSY AT THE DENTIST PLACE!!!!!!!!!
Anne “Idiot” Dudfield
“God bless you and gifsicle! It is the answer to my prayers and yearnings. Linux go bragh.”
“...Gifsicle, manejador de gifs...”
“Ja-nee swaer. Ek het nog steeds nie die ding gedownload nie, maar dit lyk vir my sonder twyfel nat-kak.”
Etienne Posthumus’s “rough” translation: “Well old boy. I haven’t downloaded it yet, but it looks hot-shit to me without a doubt.”