A small node library that splits a stream of PNGs
CoffeeScript JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
test
.gitignore
.npmignore
README.md
index.js
package.json

README.md

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!