Jeffrey M. Barber

Tombstone

Cutter

Jan 2026 · age 44

What it was

A sprite-sheet cutter for an asset pipeline, in Java 21 and JavaFX. Load one image, draw named rectangles over it, and let pixel heuristics tighten or grow each rectangle to fit the art: peel an edge while its row or column is uniform, by average or by matching the first pixel, until nothing changes. Other commands centred a box on the dark pixels, or on everything that was not white. All of it ran in premultiplied-alpha colour, so "white" meant the same thing for opaque and half-transparent pixels. At high zoom a viewport-sized canvas drew only the visible pixels as big squares. Rectangles travelled as a sidecar file beside the image and as plain text through the clipboard, and export wrote each one as a PNG. About 2,350 lines, nearly all in one controller, published in one January morning; the licence says 2024, so the code is likely older.

Wins, for the age

What it taught

Genealogy

Ancestors: Pixel Master: pixel-level tools for art that lives in a grid. Tiles: slicing art into game-ready pieces by rule. Descendants: RPG Spine: the one-bit image pipeline for a handheld RPG.

Epitaph

It found the edges of sprites by asking, in premultiplied alpha, whether a row was all the same, and saved its answers beside the picture. Its README promised an auto-save it never had.