mirror of
https://github.com/mr0xb/spritestitch.git
synced 2026-08-27 20:44:55 -04:00
initial commit
This commit is contained in:
parent
2f396d314b
commit
5e84cde21e
1 changed files with 26 additions and 0 deletions
26
README.md
Normal file
26
README.md
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
# 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 ...
|
||||
```
|
||||
Loading…
Reference in a new issue