Home > Software > Media > Transcoders > gifski

gifski logo

Details

Package ID
gifski
Version
1.13.0
Downloads
6472
Website
https://gif.ski/

Summary

GIF encoder based on libimagequant (pngquant). Squeezes maximum possible quality from the awful GIF format.

Description

Highest-quality GIF encoder based on pngquant.

gifski converts video frames to GIF animations using pngquant’s fancy features for efficient cross-frame palettes and temporal dithering. It produces animated GIFs that use thousands of colors per frame.

Usage

gifski is a command-line tool. There is no GUI for Windows or Linux (there is one for macOS).

The recommended way is to first export video as PNG frames. If you have ffmpeg installed, you can run in terminal:

ffmpeg -i video.webm frame%04d.png

and then make the GIF from the frames:

gifski -o anim.gif frame*.png

You can also resize frames (with -W <width in pixels> option). If the input was ever encoded using a lossy video codec it’s recommended to at least halve size of the frames to hide compression artefacts and counter chroma subsampling that was done by the video codec.

Adding --quality=90 may reduce file sizes a bit, but expect to lose a lot of quality for little gain. GIF just isn’t that good at compressing, no matter how much you compromise.

See gifski -h for more options.

Comments

Loading comments...