Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 409 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 409 Bytes

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.