Skip to content

Knowre-Dev/swint-builder-png

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

swint-builder-png

Greenkeeper badge PNG sprite builder for Swint

Warning: This is not the final draft yet, so do not use this until its official version is launched

Dependency

ImageMagicK should be installed and able to execute $ convert and $ montage on the command line

Installation

$ npm install --save swint-builder-png

Options

  • name : String, default: Project
  • inDir : String, default: path.dirname(require.main.filename)
  • outDir : String, default: path.join(path.dirname(require.main.filename), '../out')
  • imgMetaDir : String, default: path.join(path.dirname(require.main.filename), '../imgMeta')
  • walkOption : Object, default: { ext: '*' }

Usage

buildPNG({
	name: 'Test',
	inDir: path.join(__dirname, 'png'),
	outDir: path.join(__dirname, 'out'),
	imgMetaDir: path.join(__dirname, 'imgMeta')
}, function() {
	// Build complete
});

About

PNG sprite builder for Swint

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •