gift 0.9.1

A library for reading and writing GIF images
Documentation

GIFt

A Rust library for encoding and decoding GIF images.

Documentation

https://docs.rs/gift

Decoding example

use gift::Decoder;
use std::fs::File;

let gif = File::open("example.gif")?;
for step in Decoder::new(gif) {
    // was there a decoding error?
    let step = step?;
    let raster = step.raster();
    // ... work with raster
}

Utility

The library comes with a gift command-line utility, which can show the blocks within GIF files.

cargo install gift --features=cmd