#Generate sprite by video
#Introduction
The "generate-sprite-by-video" can be used to generate sprites by video file using ImageMagick.
#Requirements
- Install Node.js
- If your command line does not support 'grep' command, install Git Bash
- Install [ImageMagick] (http://www.imagemagick.org/script/binary-releases.php) and check 'install legacy utilities'-checkbox
1. git clone https://github.com/lidox/generate-sprite-by-video.git
2. 'npm install' in order to install dependecies
3. Edit config/config.json
// first generate thumbnails:
node generate-thumbs.js [path-to-movies] [path-to-thumbs] [thumbnail-count]
example: node generate-thumbs.js C:\\Users\\bob\\Desktop\\Testing\\movies C:\\Users\\bob\\Desktop\\Testing\\thumbs 50
// then generate sprites:
node generate-sprite.js [path-to-movies] [path-to-thumbs]
example: node generate-sprite.js C:\\Users\\bob\\Desktop\\Testing\\movies C:\\Users\\bob\\Desktop\\Testing\\thumbs