Crates.io | gif_parser |
lib.rs | gif_parser |
version | 0.2.1 |
source | src |
created_at | 2023-03-26 19:05:40.847572 |
updated_at | 2023-04-17 18:05:23.224682 |
description | Simple library for parsing GIF |
homepage | |
repository | https://github.com/barvirm/gif_reader |
max_upload_size | |
id | 821489 |
size | 72,742 |
Simple library to parse GIF.
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:?}");
}
}