yaged

Yet another gif encoder decoder


Keywords
encoder, decoder, gif, gif-decoder
Licenses
MIT/Apache-2.0

Documentation

yaged (yet another gif encoder decoder)

Gif encoder/decoder based on GIF89a specification.

Examples

Decode a gif file using ColorMap color output mode.

let file = &mut File::open(Path::new("./ascii-gif-example.gif")).unwrap();
let gif = decode(file, ColorOutput::ColorMap).unwrap();

Decode a gif file using RGBA color output mode.

let file = &mut File::open(Path::new("./ascii-gif-example.gif")).unwrap();
let gif = decode(file, ColorOutput::RGBA).unwrap();

Still work to do

  • handle interlaced flag
  • handle disposal method
  • handle user input
  • support more extension blocks
  • decoding optimization
  • implements gif encoding