Image optimizer, PNG, JPEG and GIFimage compress on OS X, Linux, FreeBSD and Windows
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
test import `node-gifsicle` to support gif optimization Dec 29, 2013
.gitignore Update .gitignore Nov 25, 2013
.npmignore
MIT-LICENSE.txt
README.md import `node-gifsicle` to support gif optimization Dec 29, 2013
index.js import `node-gifsicle` to support gif optimization Dec 29, 2013
package.json

README.md

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.