0.0.5 • Published 13 years ago
stylus-spriting v0.0.5
stylus-spriting
Sprite generator with stylus
Instalation
This tool isn't a final version or a released version, so it is not available in npm repository. But, to use you must install the dependencies.
The GM Library is the only dependence that can't be installed with a npm.
GM (Graphics Magick)
Installing a GM Library.
MAC OSX
To install I used a homebrew tool. For more instruction of installation go to GM Site.
$ brew update
$ brew install graphicsmagickInstalling stylus-spriting
$ git clone git://github.com/thepirates/stylus-spriting.git
$ cd stylus-spriting
$ npm installUsage
To use you need do like that:
$ node bin/stylus-spriting --helpUsage: stylus-spriting stylus-spriting path/to/images/*.png [options]
Options:
-h, --help output usage information
-V, --version output the version number
--image <file> Name for output image.
--stylus <file> Name for output stylus.
--class-prefix <string> Class prefix for stylus.
--debug <boolean> Debugger mode.