Sprite Atlas Pack

Reconstruct a trimmed sprite from the atlas

Add local transparent PNGs. The packer scans their alpha channels, keeps all nonzero alpha and removes empty outer borders. The preview preserves the import order when packing rows.

Choose maximum width and padding. Spacing is transparent and is outside each frame rectangle. Oversized frames must fit with padding. A completely transparent frame gets a transparent one-pixel placeholder.

Read frames.json and crop (x, y, width, height) from atlas.png. Paste at (offsetX, offsetY) on a transparent canvas of the stated sourceWidth and sourceHeight. Coordinates start at the top left. Each frame has a unique ID even if filenames repeat.

Up to 64 PNGs and 32 MiB of compressed input are supported. One input may contain up to four megapixels. Output is limited to 4096 pixels in height and twelve megapixels.