imagemin-jpegtran
jpegtran imagemin plugin
Last updated a year ago by 1000ch .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install imagemin-jpegtran 
SYNC missed versions from official npm registry.

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

Current Tags

  • 6.0.0                                ...           latest (a year ago)

16 Versions

  • 6.0.0                                ...           a year ago
  • 5.0.2                                ...           3 years ago
  • 5.0.1                                ...           3 years ago
  • 5.0.0                                ...           4 years ago
  • 4.3.2                                ...           4 years ago
  • 4.3.1                                ...           4 years ago
  • 4.3.0                                ...           4 years ago
  • 4.2.0                                ...           4 years ago
  • 4.1.0                                ...           5 years ago
  • 4.0.0                                ...           5 years ago
  • 3.1.1                                ...           5 years ago
  • 3.1.0                                ...           5 years ago
  • 3.0.0                                ...           5 years ago
  • 2.0.0                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
  • 0.1.0                                ...           6 years ago
Downloads
Today 8
This Week 2,088
This Month 5,915
Last Day 392
Last Week 2,919
Last Month 8,707
Dependencies (3)
Dev Dependencies (4)
Dependents (234)

Copyright 2014 - 2016 © taobao.org |