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

imagemin-jpegtran-vendor

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

imagemin-jpegtran-vendor

jpegtran imagemin plugin

latest
Source
npmnpm
Version
5.0.4
Version published
Maintainers
1
Created
Source

imagemin-jpegtran Build Status Build status

jpegtran imagemin plugin

Install

$ npm install --save imagemin-jpegtran

Usage

const imagemin = require('imagemin');
const imageminJpegtran = require('imagemin-jpegtran');

imagemin(['images/*.jpg'], 'build/images', {use: [imageminJpegtran()]}).then(() => {
	console.log('Images optimized');
});

API

imageminJpegtran([options])(buffer)

Returns a promise for a buffer.

options

progressive

Type: boolean
Default: false

Lossless conversion to progressive.

arithmetic

Type: boolean
Default: false

Use arithmetic coding.

buffer

Type: buffer

Buffer to optimize.

License

MIT © imagemin

Keywords

compress

FAQs

Package last updated on 09 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