Socket
Socket
Sign inDemoInstall

gifsicle

Package Overview
Dependencies
57
Maintainers
2
Versions
33
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    gifsicle

gifsicle wrapper that makes it seamlessly available as a local dependency on OS X, Linux and Windows


Version published
Weekly downloads
540K
increased by3.47%
Maintainers
2
Created
Weekly downloads
 

Readme

Source

node-gifsicle Build Status

gifsicle 1.71 Node.js wrapper that makes it seamlessly available as a local dependency on OS X, Linux and Windows.

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.

Install

Install with npm: npm install --save gifsicle

Example usage

var execFile = require('child_process').execFile;
var gifsiclePath = require('gifsicle').path;

execFile(gifsiclePath, ['-o', 'output.gif', 'input.gif'], function() {
	console.log('Image minified');
});

Can also be run directly from ./node_modules/.bin/gifsicle.

Dev

Note to self on how to update the binaries.

OS X

Run npm install on a OS X 10.7 machine to build the binary.

Linux

Run npm install to build the binary.

Windows

  • Download the Windows files 32/64-bit on a Windows machine.
  • Run the downloaded file to extract.
  • Go to the bin folder at the destination and copy gifsicle.exe.

License

Everything excluding the binaries licensed under the BSD license and copyright Google.

gifsicle licensed under the GNU General Public License, Version 2.

Keywords

FAQs

Last updated on 15 Aug 2013

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc