Sprite Production Field Notes

sprite sheet maker

Verify an Optimized GIF Pose Before It Becomes a Packed Sprite Cell

An optimized GIF may store only the rectangle that changes between poses. If a packer treats that rectangle as a complete sprite, parts that did not change can disappear from the atlas. The decoded frame width can still look right when the decoder expands the patch onto an empty canvas.

Choose two points on different sides of the patch

Build a test with a red mark on the left in frame zero. Add a blue mark on the right in frame one without clearing the left. After extraction, frame one should show both points in the intended composited result. Also make a control animation where the left mark is intentionally cleared. That control catches a decoder that blindly keeps earlier pixels for every disposal mode.

Pack the decoded pose and keep its duration

Materialize each full composited frame before handing it to the atlas writer. Check the packed rectangle after the round trip, not merely the decoder’s return value. The expected timestamp or delay for the pose should survive the conversion independently of its color checks.

FrameSprite’s technical guide and test fixture compares a Tk indexed patch read with the actual composited frame. The outside-patch point is what exposes an incomplete extraction.

Prepared by the FrameSprite Workflow Team with AI assistance. Illustrative examples are labeled in the text.