Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/imagemin/gifsicle-bin
gifsicle bin-wrapper that makes it seamlessly available as a local dependency
https://github.com/imagemin/gifsicle-bin
Last synced: 2 days ago
JSON representation
gifsicle bin-wrapper that makes it seamlessly available as a local dependency
- Host: GitHub
- URL: https://github.com/imagemin/gifsicle-bin
- Owner: imagemin
- License: mit
- Created: 2013-07-29T18:01:17.000Z (over 11 years ago)
- Default Branch: main
- Last Pushed: 2023-09-20T17:18:30.000Z (about 1 year ago)
- Last Synced: 2024-11-05T01:02:27.032Z (7 days ago)
- Language: JavaScript
- Homepage: http://www.lcdf.org/gifsicle/
- Size: 7.55 MB
- Stars: 113
- Watchers: 18
- Forks: 52
- Open Issues: 29
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# gifsicle-bin ![GitHub Actions Status](https://github.com/imagemin/gifsicle-bin/workflows/test/badge.svg?branch=main)
> gifsicle manipulates GIF image files in many different ways. Depending on command line options, it can merge several GIFs into a GIF animation; explode an animation into its component frames; change individual frames in an animation; turn interlacing on and off; add transparency and much more.
You probably want [`imagemin-gifsicle`](https://github.com/imagemin/imagemin-gifsicle) instead.
## Install
```
$ npm install gifsicle
```## Usage
```js
import {execFile} from 'node:child_process';
import gifsicle from 'gifsicle';execFile(gifsicle, ['-o', 'output.gif', 'input.gif'], error => {
console.log('Image minified!');
});
```## CLI
```
$ npm install --global gifsicle
``````
$ gifsicle --help
```