Skip to content

zprodev/psd2sprite

Repository files navigation

psd2sprite

Build Status npm license

Convert PSD to SpriteSheet.

01.png

Usage

First, install this module in your project.

$ npm install psd2sprite

Import this module to your source code and call like below.

var psd2sprite = require('psd2sprite');

psd2sprite('./target.psd');
// -> Output of ./target_sprite.png and ./target_sprite.json

psd2sprite('./target.psd', './outdir');
// -> Output of ./outdir/target_sprite.png and ./outdir/target_sprite.json

License

This software is released under the MIT License, see LICENSE

About

Convert PSD to SpriteSheet

Resources

License

Stars

Watchers

Forks

Packages

No packages published