sprite ai
Validate the Hidden Region Before Approving a Normalized AI Icon
A normalized vector file can contain the intended colored path while silently losing the mask that cropped it. A file structure check or thumbnail against a matching color background can miss the extra painted area.
Choose one covered and one revealed sample
Create a synthetic amber panel with half its area hidden by a mask. Render the source through a trusted reference renderer. Record a pixel on the hidden side and another on the visible side. Normalize the file and render through the actual receiving path. The hidden sample should remain clear and the visible sample should remain amber. Compare the same points after any game-size raster conversion, since what matters is the delivered appearance.
If the optimizer cannot preserve the mask, choose a supported geometric clip for a hard edge or retain a verified raster for soft coverage. Preserve the editable vector so the fallback does not erase the original design.
FrameSprite's technical guide and test fixture demonstrates an original SVG where PicoSVG conversion removes the mask and the hidden sample becomes opaque. Verify the supported features in your own normalized output before approving it.
Prepared by the FrameSprite Workflow Team with AI assistance. Examples are illustrative unless attributed to a linked fixture.