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.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2025-12-09 00:20:24 -05:00
go.mod initial commit 2025-12-09 00:20:02 -05:00
main.go initial commit 2025-12-09 00:20:02 -05:00
README.md initial commit 2025-12-09 00:20:24 -05:00

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 ...