jseidelin/pixastic — pull request #5 by enobrev (2011-10-25 03:44:50+00:00)
Title: Adds Node.JS Support

First intention was to change nothing in the Core, but it just
wasn't possible. So instead, this replaces document.createElement
for canvas creation using node-canvas (only when called from
node.js), and adds an isNode method which is sprinkled throughout
the code keeping browser-specific code (like img.tagName) from
crashing node scripts.

All effects except blend have been confirmed to work. Blend likely
works as well, just hasn't been tested.