Skip to content

guetzli wrapper that makes it seamlessly available as a local dependency

License

Notifications You must be signed in to change notification settings

343dev/guetzli-bin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Important

This is a fork of guetzli-bin repo that I need to make Optimizt work right. The fork will probably be removed after guetzli-bin#19 merge.

guetzli-bin GitHub Actions Status

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

About

guetzli wrapper that makes it seamlessly available as a local dependency

Resources

License

Security policy

Stars

Watchers

Forks

Languages

  • JavaScript 100.0%