Skip to content

jpegrescan bin-wrapper that makes it seamlessly available as a local dependency

License

Notifications You must be signed in to change notification settings

watilde/jpegrescan-bin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

jpegrescan bin-wrapper that makes it seamlessly available as a local dependency

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published