@weus/jpeg-recompress-bin

3.0.6 • 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

You probably want imagemin-jpeg-recompress instead.

Install

$ npm install --save jpeg-recompress-bin

Usage

const {execFile} = require('child_process');
const jpegRecompress = require('jpeg-recompress-bin');

execFile(jpegRecompress, ['--quality high', '--min 60', 'input.jpg', 'output.jpg'], err => {
	console.log('Image minified');
});

CLI

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

License

MIT © Imagemin

Dependents (1)

Package Sidebar

Install

npm i @weus/jpeg-recompress-bin

Weekly Downloads

1

Version

3.0.6

License

MIT

Last publish

Collaborators

  • zzy_enetf
  • linder0209
  • johnsonqz
  • tedyhy
  • lizhiyang
  • duooduo
  • webpansy
  • senyawang
  • princetoad
  • txy920
  • hopefuture
  • joy-web