image-gif
image-gif copied to clipboard
GIF en- and decoder
This bit me once while playing around with the library. If you do not specify frame dimensions, some decoders will not be able to decode the GIF properly and will...
I'm a Rust newbie, so I might be thinking weirdly here, but the current structure where `Decoder` is a struct that holds global information about the GIF (color and palette)...
I'm decoding an animated GIF by using the `image` crate and doing: ```Rust let decoder = GifDecoder::new(BufReader::new(File::open(path)?))?; return Ok(decoder.into_frames().collect_frames()?); ``` For most GIFs this works fine however it is tripping...
In #110, support was added to bypass the NeuQuant algorithm when the color count was `
```rust ---- src/lib.rs - (line 38) stdout ---- thread 'src/lib.rs - (line 38)' panicked at 'test executable failed: thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os {...
Here's the comparison of ffmpeg and image-gif relative to source mp4 video All in 30 FPS, 640x360 resolution --- ### source mp4 https://user-images.githubusercontent.com/64297935/125145565-3f463400-e154-11eb-93d2-319daa87067b.mp4 size = 913.5 KB --- ### ffmpeg's...
Currently there's no way to know whether a GIF is supposed to be looped or not. I've tried implementing it, but apart from the bug #103, there's a tricky situation...
Could you change these functions to take something like `impl Into` instead? I realize I don't have to use these functions, but since they exist, it'd be nice if they...
Hi, I'm new to Rust, yet I need to write a piece of Rust code to **create a GIF file from a series of JPEG screenshots**. Currently my [generated GIF](https://drive.google.com/open?id=1T1kQgIWt-TbjV9peD8sCgrcPZh0z3q2d)...
A write-up of one potential performance problem and improvements. The decompression of blocks happens one sub-block at a time, or less if the `BufRead` buffer does not cover the whole...