gifski-lite

Crates.iogifski-lite
lib.rsgifski-lite
version1.0.1
sourcesrc
created_at2022-01-29 04:40:09.188865
updated_at2022-01-31 22:54:23.163677
descriptionpngquant-based GIF maker for nice-looking animGIFs that supports WASM.
homepagehttps://github.com/jamsinclair/gifski-lite
repositoryhttps://github.com/jamsinclair/gifski-lite
max_upload_size
id523448
size52,757
Jamie (jamsinclair)

documentation

https://github.com/jamsinclair/gifski-lite#readme

README

gifski-lite

Highest-quality GIF encoder for the Web based on pngquant and the original gifski.

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.

(CC) Blender Foundation | gooseberry.blender.org

This fork simplifies the Original gifski library in order to make it more easily compatible with the Web and as a WebAssembly module.

Usage

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>

Building

  1. 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 rustup update regularly.
  2. Clone the repository: git clone https://github.com/jamsinclair/gifski-lite
  3. In the cloned directory, run: cargo build --release

License

AGPL 3 or later.

Acknowledgements

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
Commit count: 314

cargo fmt