png-splitter

0.0.0 • Public • Published

What?

A few lines that takes a readable stream of PNGs, splits it, and emits "image" events

How?

 
var myReadablePngStream = ...
var PngSplitter = require("png-splitter")
var pngSplitter = new PngSpliter(myReadablePngStream)
 
pngSplitter.on("image", function(image) {
})

Notes

This relies on stream.pipe, so make sure your stream implementation properly implements back-pressure and what not!

/png-splitter/

    Package Sidebar

    Install

    npm i png-splitter

    Weekly Downloads

    2

    Version

    0.0.0

    License

    BSD

    Last publish

    Collaborators

    • addisonj