mirror of
https://github.com/mr0xb/spritestitch.git
synced 2026-08-28 04:44:55 -04:00
26 lines
688 B
Markdown
26 lines
688 B
Markdown
# 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](https://go.dev/) installed (1.20+ recommended).
|
|
|
|
```bash
|
|
git clone https://github.com/mr0xb/spritestitch.git
|
|
cd spritestitch
|
|
go build -o spritestitch .
|
|
```
|
|
|
|
## Usage
|
|
``` bash
|
|
spritestitch -o output.png -direction [h|v] sheet1.png sheet2.png ...
|
|
```
|