Skip to content

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.

Notifications You must be signed in to change notification settings

Gorash/SpritesPacking.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

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

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published