Unpacks a base64 encoded string PNG. This is used for creating
First, take your image and pack it into a module:
ndpack-image test.img > test.js
Then load the test image:
var myimage =
If you want to publish your image on npm, be sure to add ndpack-image as a dependency.
npm install ndpack-image
(c) 2014 Mikola Lysenko. MIT License