#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

#36 in Multimedia

Download history 164/week @ 2024-01-07 187/week @ 2024-01-14 144/week @ 2024-01-21 97/week @ 2024-01-28 140/week @ 2024-02-04 136/week @ 2024-02-11 157/week @ 2024-02-18 194/week @ 2024-02-25 129/week @ 2024-03-03 179/week @ 2024-03-10 188/week @ 2024-03-17 73/week @ 2024-03-24 166/week @ 2024-03-31 125/week @ 2024-04-07 133/week @ 2024-04-14 98/week @ 2024-04-21

527 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