Skip to content

Latest commit

 

History

History
62 lines (43 loc) · 1.2 KB

README.md

File metadata and controls

62 lines (43 loc) · 1.2 KB

Kaban

License: MIT Go Reference

Kaban is a simple tool for manipulating sprite sheet images.

Features

  • Create sprite sheet image from individual images
  • Unpack sprite sheet image into individual images

Example

Unpack

kaban unpack ./example/example.png

example.png0_1__67_126.png & 76_0__128_128.png

Pack

kaban pack ./example/0_1__67_126.png ./example/76_0__128_128.png -o ./example/packed.png

0_1__67_126.png + 76_0__128_128.pngpacked.png

Installation

This package can be utilized either as a CLI tool or as a library.

As a CLI tool

go install github.com/aethiopicuschan/kaban@latest
kaban -h

As a library

go get github.com/aethiopicuschan/kaban
import (
	"github.com/aethiopicuschan/kaban/detection"
	"github.com/aethiopicuschan/kaban/merge"
)