node-optimage
v0.2.9
Published
Image optimizer
Downloads
22
Readme
node-optimage
Image optimizer, PNG, JPEG and GIF image compress on OS X, Linux, FreeBSD and Windows.
Install
Install with NPM: npm install --save optimage
Example usage
var optimage = require('optimage');
optimage({
inputFile: "test.png",
outputFile: "test.min.png"
}, function(err, res){
// res.inputFile
// res.outputFile
// res.saved
});
License
MIT.