mirror of
https://github.com/mr0xb/spritestitch.git
synced 2026-08-27 20:44:55 -04:00
spritestitch is a tiny Go CLI tool that stitches multiple image files into a single spritesheet, either horizontally or vertically. It supports PNG, JPEG, and GIF inputs and always outputs a PNG.
- Go 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| go.mod | ||
| LICENSE | ||
| main.go | ||
| README.md | ||
spritestitch
spritestitch is a tiny Go CLI tool that stitches multiple image files into a single spritesheet, either horizontally or vertically. It supports PNG, JPEG, and GIF inputs and always outputs a PNG.
Features
- Join multiple images into one spritesheet
- Horizontal or vertical layout
- Supports PNG/JPEG/GIF as input
- Outputs a single PNG file
- Simple command-line interface
Installation
Make sure you have Go installed (1.20+ recommended).
git clone https://github.com/mr0xb/spritestitch.git
cd spritestitch
go build -o spritestitch .
Usage
spritestitch -o output.png -direction [h|v] sheet1.png sheet2.png ...