imagemin-jpegtran
jpegtran imagemin plugin
Install
$ npm install --save imagemin-jpegtran
Usage
const imagemin = ;const imageminJpegtran = ; ;
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