All formats

GIF libraries for Rust

For better palettes, imagequant (libimagequant, GPL-3.0 or commercial) and color_quant (NeuQuant, MIT) produce indexed frames you feed to the gif crate. The gifski encoder is available as a crate too (AGPL-3.0).