|Jan 31, 2022
|Jan 29, 2022
#418 in Video
24 downloads per month
gifski-lite converts video frames to GIF animations using pngquant's fancy features for efficient cross-frame palettes and temporal dithering. It produces animated GIFs that use thousands of colors per frame.
This fork simplifies the Original gifski library in order to make it more easily compatible with the Web and as a WebAssembly module.
gifski-lite is intended to target the Web only (potentially Node.js and Deno too).
The recommended way is to add this library as a dependency to a rust project that compiles to WebAssembly.
<Todo: add link to wasm project here>
- Install Rust via rustup or run
rustup update. This project only supports up-to-date versions of Rust. You may get compile errors, warnings about "unstable edition", etc. if you don't run
- Clone the repository:
git clone https://github.com/jamsinclair/gifski-lite
- In the cloned directory, run:
cargo build --release
AGPL 3 or later.
This is a fork of the original gifski project. This fork makes some significant changes:
- Refactors to slower single-threaded approach (for now, until can get threading working with WebAssembly)
- Remove features for ffmpeg and gifsicle
- Removes CLI tool and other compiled binaries
- Removes support for adding PNG frame files
- Removes C API