ipacker
v0.3.9
Published
A node.js tools for packing some images into one.
Downloads
6
Readme
iPacker
A node.js tools for packing some images into one.
Getting started
First, download and install ImageMagick.
In Mac OS X, you can simply use Homebrew and do:
brew install imagemagick
Second, install Node.js.
Then, run
npm install
Help Info
node ipacker.js --help
Simple Examples
- Pack all in one
put all images into "./input" dir.
run:
node ipacker.js -p --name all-in-one
Note: --name , the packname doesn't include ext-name.
the all-in-one.png will be created in "./output/pack".
the mapping-info in "./output/pack/img-mapping"
More Advanced Examples
coming soon ...