imagemosaick
Image mosaic generation library using imagemagick
Installation
npm install imagemosaick
Usage
var mosaick = let tilesFolder = './tileset'let tileSize = 16var tileset = tilesFolder tileSize let input = 'inputFile.png'let output = 'outputFile.png'let options = mosaick
Options
Mosaic generation curently supports the following options:
Option | Description | Default |
---|---|---|
verbose | Enable verbose stdout logging | false |
verboseEx | Enable extra verbose stdout logging (VERY verbose) | false |
maxMosaicSize | Maximum mosaic size in # of tiles (scale source image down to fit if necessary) | 200 |
threshold | Hue match threshold (0-320) - how far should the color match go? | 60 |