image-gif icon indicating copy to clipboard operation
image-gif copied to clipboard

GIF en- and decoder

Results 18 image-gif issues
Sort by recently updated
recently updated
newest added

A draft of how to treat extensions. The main challenge is that the decoder assumes to be at particular states when calling `next_frame_info`, `read_next_frame` and `read_into_buffer`. Futhermore, the descriptor is...

enhancement
draft

I see an API to write a loop extension, but none to read one via Reader.

For a project of mine I was looking for a crate that could load animated GIFs which I wanted to render with glium. Since this crate didn't have support for...

This library should return image buffers instead of byte slices.

In 0.11.4, I can't get this to decode: I get DecodingFormatError { underlying: "unexpected EOF" } It works in Chrome/Win/Brave. https://user-images.githubusercontent.com/657201/139770827-18e25c4e-eb0a-4058-ba48-ddc3849090ee.gif

I'm targeting 1.51.0 and getting: ``` error[E0277]: `[u8; 3]` is not an iterator --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/gif-0.12.0/src/common.rs:241:41 | 241 | let palette = colors_vec.iter().flat_map(|&(r, g, b, _a)| [r, g, b]).collect(); | ^^^^^^^^...

While creating a frame in the process of encoding, this library is able to quantize the colors in an rgba buffer to a pallete of 256 colors. I'm interested in...