0.0.5 • Published 7 years ago
jdf-webp-gif v0.0.5
jdf-webp-gif
A cwebp-gif wrapper for JDF
Install
$ npm install --save jdf-webp-gif
Usage
var execFile = require('child_process').execFile;
var cwebp = require('jdf-webp-gif');
execFile(cwebp, ['input.gif', '-o', 'output.webp'], function (err) {
if (err) {
throw err;
}
console.log('Image is converted!');
});
CLI
$ npm install --global jdf-webp-gif
$ jdf-webp-gif --help