png engine for spritesmith.
This can be used for constructing a canvas, placing images on it, and extracting the result image.
Install the module with:
npm install pngsmith
// Convert images into pngsmith objectsvar images = 'img1.jpg' 'img2.png';pngsmith;
This module was built to the specification for all spritesmith modules.
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint using grunt and test via
As of Dec 13 2013, Todd Wolfson has released this repository and its contents to the public domain.
It has been released under the UNLICENSE.