[][src]Crate gift

GIFt

A library for decoding and encoding GIF images and animations.

Decode Example

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

Modules

block

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

decode

GIF file decoding

encode

GIF file encoding

Structs

Decoder

GIF file decoder

Encoder

GIF file encoder

Enums

Error

Errors encountered while decoding or encoding