simple cli tool for converting images to gifs, allowing for reducing/changing the color palette of the output gif.
just needed a quick and better way to convert my asesprite animations to gifs, so i made this.
palettes need to be in the gpl format.
all art in the images
folder are my own.
-c, --colors <colors>
: number of colors to use in the output gif (default: 256)-p, --palette <palette>
: path to a gpl file to use as the color palette-o, --output <output>
: path to the output gif file-h, --help
: display help for command-d, --delay <delay>
: delay between frames in the output gif (default: 100(ms))-l, --loop <loop>
: number of times to loop the output gif (default: 0 (infinite))-i, --interlaced
: whether or not to use interlacing in the output gif (default: false)-s, --speed <speed>
: quantization speed (1-30) (default: 1)
gifquant images -o full.gif
gifquant images -c 8 -o c8.gif
gifquant images -c 16 -o c16.gif
gifquant images -c 32 -o c32.gif
gifquant images -p palettes/aap-64.gpl -o aap-64.gif
git clone https://github.com/nathanielfernandes/gifquant.git
cd gifquant
cargo install --path .