All formats

GIF libraries for Python

imageio (BSD-2) reads and writes GIFs as NumPy arrays and uses Pillow for GIF underneath. For smaller files, run the output through gifsicle or use pygifsicle to call it from Python.