#gif #lossy #encoder #encoding #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

#30 in Multimedia

Download history 104/week @ 2024-10-16 192/week @ 2024-10-23 126/week @ 2024-10-30 81/week @ 2024-11-06 83/week @ 2024-11-13 133/week @ 2024-11-20 125/week @ 2024-11-27 141/week @ 2024-12-04 148/week @ 2024-12-11 69/week @ 2024-12-18 32/week @ 2024-12-25 64/week @ 2025-01-01 57/week @ 2025-01-08 91/week @ 2025-01-15 97/week @ 2025-01-22 252/week @ 2025-01-29

506 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–345KB