Sprite Production Field Notes

Does my sprite PNG actually have a transparent background?

Open the delivered file and compare it on two different backdrops. A render with the backdrop baked in can look identical on the original review color, even if every pixel in the delivered artwork is opaque.

Choose a PNG to inspect the full image at its original size. The previews may be scaled to fit the page. Your file is decoded in your browser. For an animated PNG, the checker shows a single decoded image.

Dark blue · #101b29
Light · #deded3

Read the result

Compare two files that appear identical on dark blue

Choose the transparent example. It contains a 14 × 14 opaque core and two 14-pixel soft edge rows in a 24 × 24 canvas. The expected report is 352 clear, 28 partial and 196 opaque pixels. Choose the baked example. On dark blue the pictures match. The baked example still shows its dark blue square on the light backdrop and reports 576 opaque pixels. This example tests decoded pixel coverage and does not measure the blend settings of your game engine.

If the preview changes with the background but the edge still has a fringe, inspect the partial-alpha edge pixels and your engine’s blend settings. Keep the transparent PNG beside a reference background used only for review.

中文样例:同一张骨龙图,为什么会量出两个宽度?

在 帧灵国内站下载骨龙透明 PNG,把第 1 帧拖入上面的文件选择框。这张 360 × 360 图有 4,631 个半透明像素。工具可以显示它们在深浅两种底色上的表现。

如果用一条矩形边框量龙的宽度,先决定翼尖的半透明边缘算不算。把所有透明度大于 0 的像素算进去,第 1 帧是 240 × 209;只算透明度至少为 128 的像素,是 234 × 203。第 5 帧按这两个标准分别是 215 × 149 和 209 × 144。交付给程序时带上阈值,别人才能量出同一个结果。

After verifying the file, you can pack it with other frames. Open the FrameSprite sprite sheet maker

Technical references