#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

#25 in Multimedia

Download history 184/week @ 2024-07-22 427/week @ 2024-07-29 399/week @ 2024-08-05 268/week @ 2024-08-12 121/week @ 2024-08-19 126/week @ 2024-08-26 102/week @ 2024-09-02 130/week @ 2024-09-09 123/week @ 2024-09-16 158/week @ 2024-09-23 193/week @ 2024-09-30 162/week @ 2024-10-07 150/week @ 2024-10-14 190/week @ 2024-10-21 133/week @ 2024-10-28 97/week @ 2024-11-04

585 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