Highest-quality GIF encoder, built on pngquant
open sourceAGPL-3.0-or-laterfree
gifski turns video frames into animated GIFs with thousands of colours per frame, using pngquant's cross-frame palettes and temporal dithering. It reads PNG frames, or video piped from ffmpeg, and has options for width, frame rate, overall quality, lossy LZW compression and motion quality to fit a GIF under an upload limit. It's a command-line tool for Linux, macOS and Windows, a Rust crate with a C API for other apps (C#, Swift, C and C++ through FFI), and a GUI for Windows; the Mac app is a separate project by Sindre Sorhus. It's AGPL-3.0, and a commercial licence is sold for closed-source products and services. Compared with Gifsicle, which edits and optimises existing GIFs, gifski makes new ones from video.
Problems it solves
- convert a screen recording video to a GIF that doesn't look dithered and blotchy
- make a high-quality animated GIF from a folder of PNG frames
- shrink an animated GIF to fit an upload size limit
- encode GIFs from my app through a C or Rust library
Features
- thousands of colours per frame with cross-frame palettes
- temporal dithering, smoothing and denoising
- lossy LZW compression
- PNG frames or ffmpeg yuv4mpeg input
- width, frame rate, quality and motion-quality options
- Rust crate with a C API
- Windows GUI
Capabilities
| Has a command line tool | plan not known |
|---|---|
| Has official SDKs | plan not known |
Alternatives
The same job
These do what gifski does.
- Gifsicle Create, manipulate, and optimize GIF images and animations
- ImageMagick The open-source suite for image creation, conversion, and batch manipulation
- FFmpeg A complete, cross-platform solution to record, convert and stream audio and video
