yaged 0.2.0

Yet another gif encoder decoder
Documentation
  • Coverage
  • 13.21%
    7 out of 53 items documented1 out of 47 items with examples
  • Size
  • Source code size: 1.38 MB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 3.82 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • visd0m/yaged
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • visd0m

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