isolate-logos

Split one AI-generated logo sheet (a uniform grid of logos on a near-white background) into individual PNG assets. Each kept cell is auto-cropped to its content, centered on a square canvas, and writt

SKILL.md

GitHub

Instruction

Implementation is mutualized across the shared directories:

Inputs: the sheet image, the output folder, --cols, and the ordered cell names (- skips a cell, name=basename renames one output). The skill runs the script via uv run --with pillow, then reads each produced -transparent.png back to verify the crop and that white inside the artwork survived, adjusting --white-threshold or --margin when needed.