optipng-stream-bin
Issues with the output should be reported on the image-min issue tracker.
This is a wrapper around node-optipng-bin
to add support for reading input PNG data from STDIN
and writing the generated
output PNG data to STDOUT
. The module is intended to be used only as a binary
in the same style as modules that use bin-wrapper.
It cannot be used in any other fashion.
Usage
var fs = ;var optipng = path;var spawn = spawn; var cp = ;var read = fs;var write = fs; read;cpstdout;
License
MIT © Amey Parulekar