Kilnpack

Kilnpack packs loose textures into atlases and writes a manifest your engine can load. It runs from the command line and fits into a build script.

What it does

Point it at a folder of PNG files. It trims transparent borders, sorts sprites by size, places them into atlas pages, and writes atlas.json next to the images.

Quick start

kilnpack init
kilnpack pack art/sprites -o build/atlas
kilnpack check build/atlas

The check command reports missing files, pages above the size limit, and duplicate sprite names.

Supported inputs

FormatNotes
PNG8 and 16 bit, with or without alpha
TGAUncompressed only
JPEGRead only, no transparency

Kilnpack does not modify source files. All output goes to the folder given with -o.