gifsicle

Create GIFs.

Install

All systems
curl cmd.cat/gifsicle.sh
Debian Debian
apt-get install gifsicle
Ubuntu
apt-get install gifsicle
Alpine
apk add gifsicle
Arch Arch Linux
pacman -S gifsicle
image/svg+xml Kali Linux
apt-get install gifsicle
Fedora
dnf install gifsicle
OS X
brew install gifsicle
Raspbian
apt-get install gifsicle
Docker
docker run cmd.cat/gifsicle gifsicle powered by Commando

Create GIFs.

  • Optimise a GIF:
    gifsicle --batch --optimize=3 amin.gif
  • Make a GIF animation with gifsicle:
    gifsicle --delay=10 --loop *.gif > anim.gif
  • Extract frames from an animation:
    gifsicle anim.gif '#0' > firstframe.gif
  • You can also edit animations by replacing, deleting, or inserting frames:
    gifsicle -b anim.gif --replace '#0' new.gif

© tl;dr; authors and contributors