New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

gif-video

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gif-video

Convert a GIF image into an HTML5-ready video for considerably better file sizes

latest
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

gif-video Flattr this!experimental

Convert a GIF image into an HTML5-ready video for considerably better file sizes. Much like gfycat, except you can process and host it yourself.

Usage

gif-video

require('gif-video')([options])

Returns a transform stream which takes a GIF buffer as input, and spits out a video file on the other side.

var createStream = require('gif-video')
var fs = require('fs')

fs.createReadStream('input.gif')
  .pipe(createStream({ height: 200 }))
  .pipe(fs.createWriteStream('output.webm'))

options will be passed onto the stopmotion module, with the exception of inputCodec which is forced to be gif.

License

MIT. See LICENSE.md for details.

Keywords

gif

FAQs

Package last updated on 25 Jan 2014

Did you know?

Socket

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