Skip to content

visd0m/yaged

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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