yaged

Crates.ioyaged
lib.rsyaged
version0.2.0
sourcesrc
created_at2020-10-17 08:38:13.385806
updated_at2020-11-07 10:56:46.035401
descriptionYet another gif encoder decoder
homepagehttps://github.com/visd0m/yaged
repositoryhttps://github.com/visd0m/yaged
max_upload_size
id301227
size1,387,267
Domenico Visconti (visd0m)

documentation

README

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
Commit count: 21

cargo fmt