Skip to content
This repository was archived by the owner on May 8, 2024. It is now read-only.

mole-inc/mozjpeg-bin

This branch is 25 commits ahead of, 16 commits behind imagemin/mozjpeg-bin:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d623448 · Jun 29, 2021
Jun 29, 2021
May 7, 2018
Jun 29, 2021
Jun 29, 2021
Apr 24, 2020
Jun 29, 2021
Dec 27, 2017
Mar 31, 2017
Apr 17, 2020
Apr 17, 2020
Dec 27, 2017
Jun 29, 2021
Jun 29, 2021
Apr 17, 2020
Jun 29, 2021
Jun 29, 2021

Repository files navigation

mozjpeg-bin Node CI

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.

Downloads Version codecov

Install

$ npm install @mole-inc/mozjpeg

Usage

import {execFile} from 'child_process';
import mozjpeg from '@mole-inc/mozjpeg';

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

CLI

$ npm install --global @mole-inc/mozjpeg
$ mozjpeg --help

License

This is a fork of imagemin/mozjpeg-bin licensed under the MIT License.

see license file and vendor/mozjpeg-license.txt file.

About

mozjpeg bin-wrapper that makes it seamlessly

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 89.3%
  • Dockerfile 10.7%