#gif #encoder #lossy #ffi #encoding

bin+lib gifsicle

Bindings for gifsicle library. Supports lossy compression. GPL.

4 stable releases

1.94.0 Oct 18, 2023
1.93.0 Jan 22, 2023
1.92.5 Mar 22, 2021
1.92.4 Nov 1, 2020
1.92.0 Oct 6, 2019

#32 in Multimedia

Download history 86/week @ 2023-12-11 79/week @ 2023-12-18 43/week @ 2023-12-25 58/week @ 2024-01-01 169/week @ 2024-01-08 200/week @ 2024-01-15 131/week @ 2024-01-22 103/week @ 2024-01-29 141/week @ 2024-02-05 126/week @ 2024-02-12 161/week @ 2024-02-19 199/week @ 2024-02-26 131/week @ 2024-03-04 176/week @ 2024-03-11 185/week @ 2024-03-18 115/week @ 2024-03-25

624 downloads per month

Custom license

525KB
13K SLoC

C 13K SLoC // 0.1% comments Rust 384 SLoC // 0.0% comments

Rust wrapper for gifsicle

This crate compiles gifsicle's C codebase and exposes it as an unsafe Rust library.

It can be used for lossy GIF compression, e.g. see gifski.


lib.rs:

The methods are mostly undocumented. You will have to see the original C sources for clues.

See also gifski for example usage.

Dependencies