0.0.2 • Published 9 years ago

jpegrescan v0.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

jpegrescan-bin

JPEGrescan is a perl script that uses jpeg tools to optimize jpeg compression by micro-managing some of the compression math based on research into some of the most common parameters.

Install

$ npm install --save jpegrescan

Usage

var execFile = require('child_process').execFile;
var jpegrescan = require('jpegrescan');

execFile(jpegrescan, ['input.jpg', 'output.jpg'], function (err) {
  console.log('Image compressed!');
});

CLI

$ npm install --global jpegrescan
$ jpegrescan

License

MIT