Socket
Socket
Sign inDemoInstall

giflossy

Package Overview
Dependencies
270
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    giflossy

giflossy wrapper that makes it seamlessly available as a local dependency


Version published
Weekly downloads
2.5K
decreased by-39.54%
Maintainers
1
Install size
5.27 MB
Created
Weekly downloads
 

Readme

Source

giflossy-bin npm version npm downloads Build Status Build status

giflossy is an encoder (based on gifsicle) which implements lossy LZW compression. It can reduce animgif file sizes by 30%—50% at a cost of some dithering/noise..

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

$ npm install --save giflossy

Included Binaries

  • Mac OS X
  • Linux x64
  • Linux x86
  • Windows x64
  • Windows x86

Usage

const {execFile} = require('child_process');
const giflossy = require('giflossy');

execFile(giflossy, ['-O3' '--lossy=80', '-o', 'output.gif', 'input.gif'], err => {
	console.log('Image minified!');
});

CLI

$ npm install --global giflossy
$ giflossy --help

License

MIT © Jih-Chi Lee

Keywords

FAQs

Last updated on 27 Oct 2016

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