Command-line utility that stitches together images in a folder to form a single spritesheet. It uses a naive algorithm that is not the most efficient when handling images that have different dimensions.
-
Install Nodejs or equivalent
-
Clone this project
git clone https://github.com/thinknathan/node-simple-stitcher
-
Install dependencies
npm i
oryarn
-
Install for command-line usage
npm link
stitch
-f, --folder Input folder containing images to stitch [string] [required]
-c, --maxColumns Maximum number of columns in the output image
[number] [required]
- Valid input formats:
jpeg
,png
,bmp
,tiff
,gif
- Output format is
png
Created with Chat-GPT 3.5.