Guetzli is a JPEG encoder that aims for excellent compression density at high visual quality. Guetzli-generated images are typically 20-30% smaller than images of equivalent quality generated by libjpeg.
You probably want imagemin-guetzli
instead.
Install
$ npm install --save guetzli
Usage
const {execFile} = require('child_process');
const guetzli = require('guetzli');
execFile(guetzli, ['input.jpg', 'output.jpg'], err => {
console.log('Image minified!');
});
CLI
$ npm install --global guetzli
$ guetzli --help
License
MIT © Imagemin