0.0.7 • Published 4 years ago

mozjpeg-plus v0.0.7

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

mozjpeg-bin-plus

IMPORTANT: THIS IS A FORK OF 'mozjpeg', BUILD FROM SOURCE DIRECTLY! WON'T UPDATE! IF YOU CAN ACCESS GITHUB NATURALLY, YOU WON'T NEED THIS!

mozjpeg is a production-quality JPEG encoder that improves compression while maintaining compatibility with the vast majority of deployed decoders

You probably want imagemin-mozjpeg instead.

Install

before install, you could put your own source file in vendor/source and rename as mozjpeg.tar.gz

$ npm install mozjpeg-plus

Usage

const {execFile} = require('child_process');
const mozjpeg = require('mozjpeg-plus');

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

CLI

$ npm install --global mozjpeg
$ mozjpeg --help

License

MIT © Imagemin

0.0.7

4 years ago

0.0.6

4 years ago

0.0.3

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago