@leelen_npm/jpegtran-bin

5.0.2 • Public • Published

jpegtran-bin Build Status

libjpeg-turbo is a derivative of libjpeg that uses SIMD instructions (MMX, SSE2, NEON) to accelerate baseline JPEG compression and decompression on x86, x86-64, and ARM systems. On such systems, libjpeg-turbo is generally 2-4x as fast as the unmodified version of libjpeg, all else being equal.

You probably want imagemin-jpegtran instead.

Install

$ npm install --save jpegtran-bin

Usage

const {execFile} = require('child_process');
const jpegtran = require('jpegtran-bin');

execFile(jpegtran, ['-outfile', 'output.jpg', 'input.jpg'], error => {
	console.log('Image minified!');
});

CLI

$ npm install --global jpegtran-bin
$ jpegtran --help

License

MIT © Imagemin

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 5.0.2
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 5.0.2
    2
  • 6.0.1
    0

Package Sidebar

Install

npm i @leelen_npm/jpegtran-bin

Weekly Downloads

2

Version

5.0.2

License

MIT

Unpacked Size

1.66 MB

Total Files

11

Last publish

Collaborators

  • leelen_npm