jpck
a streamable wrapper around js-mozjpegs jpegtran.
you can use all jpegtran
command line options in the object passed to jpck(options)
.
be aware that js-mozjpeg is blocking. with the limit option you can set a maximum number of bytes for the input jpeg to be optimized. larger jpegs will just be passe through.
usage
var fs = ;var jpck = ;fs;