https://github.com/thinknathan/node-simple-stitcher
Stitches together images in a folder to form a single spritesheet
https://github.com/thinknathan/node-simple-stitcher
cli-tool gamedev-tool node-cli spritesheet-packer
Last synced: 7 months ago
JSON representation
Stitches together images in a folder to form a single spritesheet
- Host: GitHub
- URL: https://github.com/thinknathan/node-simple-stitcher
- Owner: thinknathan
- License: cc0-1.0
- Created: 2023-12-21T04:57:01.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-01T07:13:03.000Z (12 months ago)
- Last Synced: 2025-04-07T00:52:50.404Z (12 months ago)
- Topics: cli-tool, gamedev-tool, node-cli, spritesheet-packer
- Language: JavaScript
- Homepage:
- Size: 830 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# Simple Image Stitcher
[](https://github.com/thinknathan/node-simple-stitcher/actions/workflows/ci.yml) 
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
1. Install [Nodejs](https://nodejs.org/en) or equivalent
2. Clone this project
`git clone https://github.com/thinknathan/node-simple-stitcher`
3. Install dependencies
`npm i`
or
`yarn`
4. Install for command-line usage
`npm link`
## Usage
`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`
## Background
Created with Chat-GPT 3.5.