Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

jpeg-recompress-bin

3.0.1 • Public • Published

jpeg-recompress-bin Build Status Build status

Compress JPEGs by re-encoding to the smallest JPEG quality while keeping perceived visual quality the same and by making sure huffman tables are optimized

Install

$ npm install --save jpeg-recompress-bin

Usage

var execFile = require('child_process').execFile;
var jpegRecompress = require('jpeg-recompress-bin');
 
execFile(jpegRecompress, ['--quality high', '--min 60', 'input.jpg', 'output.jpg'], function (err) {
    console.log('Image minified');
});

CLI

$ npm install --global jpeg-recompress-bin
$ jpeg-recompress --help

License

MIT © imagemin

install

npm i jpeg-recompress-bin

Downloadsweekly downloads

5,688

version

3.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
Report a vulnerability