gif_parser

Crates.iogif_parser
lib.rsgif_parser
version0.2.1
sourcesrc
created_at2023-03-26 19:05:40.847572
updated_at2023-04-17 18:05:23.224682
descriptionSimple library for parsing GIF
homepage
repositoryhttps://github.com/barvirm/gif_reader
max_upload_size
id821489
size72,742
Marek Barvíř (barvirm)

documentation

README

GIF Parser library

Simple library to parse GIF.

Example

use std::fs::File;
use std::io::BufReader;

fn main() {
    let filename = "tests/data/nayn.gif"
    let file = File::open(filename).unwrap();
    let reader = BufReader::new(file);

    let parser = GifParser::new(reader);

    for token in parser {
        let token = token.unwrap();
        println!("TOKEN: {token:?}");
    }
}

Commit count: 7

cargo fmt