Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

jpeg-recompress-bin-vendor

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jpeg-recompress-bin-vendor

jpeg-recompress wrapper that makes it seamlessly available as a local dependency

latest
Source
npmnpm
Version
3.0.11
Version published
Weekly downloads
1
Maintainers
2
Weekly downloads
 
Created
Source

jpeg-recompress-bin Build Status Build status

Compress JPEGs by re-encoding to the smallest JPEG quality while keeping perceived visual quality the same and by making sure huffman tables are optimized

You probably want imagemin-jpeg-recompress instead.

Install

$ npm install --save jpeg-recompress-bin

Usage

const {execFile} = require('child_process');
const jpegRecompress = require('jpeg-recompress-bin');

execFile(jpegRecompress, ['--quality high', '--min 60', 'input.jpg', 'output.jpg'], err => {
	console.log('Image minified');
});

CLI

$ npm install --global jpeg-recompress-bin
$ jpeg-recompress --help

License

MIT © Imagemin

Keywords

imagemin

FAQs

Package last updated on 10 Jan 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts