#gif #image

bin+lib gift

A library for reading and writing GIF images

5 unstable releases

✓ Uses Rust 2018 edition

0.3.1 May 29, 2019
0.3.0 May 25, 2019
0.2.0 May 1, 2019
0.1.1 Apr 28, 2019
0.1.0 Apr 26, 2019

#240 in Encoding

35 downloads per month

MIT/Apache

84KB
2K SLoC

GIFt

A Rust library for encoding and decoding GIF images.

Decoding example

// ... open a File as "gif"
let mut frame_dec = gift::Decoder::new(gif).into_frame_decoder();
let preamble = frame_dec.preamble()?;
println!("preamble: {:?}", preamble);
for frame in frame_dec {
    println!("frame: {:?}", frame?);
}

TODO

  • Interlaced images

lib.rs:

GIFt

A library for encoding and decoding GIF images and animations.

Dependencies

~687KB