Crate gift

source ·
Expand description

GIFt

A library for decoding and encoding GIF images and animations.

Decode Example

use gift::Decoder;

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

Modules

  • A GIF file consists of a sequence of Blocks in a specific order.
  • GIF file decoding
  • GIF file encoding

Structs

Enums

  • Errors encountered while decoding or encoding

Type Aliases