Gif encoder/decoder based on GIF89a specification.
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();
- handle interlaced flag
- handle disposal method
- handle user input
- support more extension blocks
- decoding optimization
- implements gif encoding