Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 318 Bytes

README.md

File metadata and controls

12 lines (7 loc) · 318 Bytes

SpritesPacking.js

Generate a compact packing of imges from a folder of png images with Nodejs (use node-canvas), and Generate the data file who contains ids, sizes, offsets, positions of the images.

node SpritesPacking.js ~/your path folder/

Generate:

  • SpritesPacking.png
  • SpritesPacking.data