guetzli
v5.0.0
Published
guetzli wrapper that makes it seamlessly available as a local dependency
Downloads
11,429
Readme
guetzli-bin
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 guetzli
Usage
import {execFile} from 'node:child_process';
import guetzli from 'guetzli';
execFile(guetzli, ['input.jpg', 'output.jpg'], error => {
console.log('Image minified!');
});
CLI
$ npm install --global guetzli
$ guetzli --help
License
MIT © Imagemin