#encoder #gif #lossy #ffi

bin+lib gifsicle

Bindings for gifsicle library. Supports lossy compression. GPL.

5 stable releases

1.95.0 Jul 10, 2024
1.94.0 Oct 18, 2023
1.93.0 Jan 22, 2023
1.92.5 Mar 22, 2021
1.92.0 Oct 6, 2019

#1207 in Images

Download history 167/week @ 2024-12-08 112/week @ 2024-12-15 39/week @ 2024-12-22 40/week @ 2024-12-29 62/week @ 2025-01-05 82/week @ 2025-01-12 105/week @ 2025-01-19 102/week @ 2025-01-26 541/week @ 2025-02-02 277/week @ 2025-02-09 235/week @ 2025-02-16 194/week @ 2025-02-23 224/week @ 2025-03-02 170/week @ 2025-03-09 249/week @ 2025-03-16 140/week @ 2025-03-23

799 downloads per month
Used in libcaesium

Custom license

535KB
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

~0.4–320KB