sprite_tools_slice
Cut a sprite sheet into frames by grid or by transparent gaps; frame PNGs plus a ZIP. Price: $0.05 USDC via x402, charged only on success. Part of Sprite tools: 2D sprite jobs for games, deterministic and cheap: slice a sheet into frames (grid or automatic by transparency), pack frames into an atlas with TexturePacker and Unity metadata, and turn upscaled or AI-generated pixel art into real pixel art on its true grid with a limited palette..
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cols | No | ||
| mode | No | auto | |
| rows | No | ||
| trim | No | ||
| image | No | Base64 PNG. | |
| margin | No | ||
| minArea | No | auto mode: ignore islands smaller than this many pixels | |
| spacing | No | ||
| imageUrl | No | ||
| cellWidth | No | ||
| cellHeight | No | ||
| mergeDistance | No | auto mode: islands closer than this merge into one sprite |