sprite sheet maker
Protect a Compressed Sprite Payload Without Confusing It With the Whole PNG
A game update may distinguish changed compressed texture data from changed packaging bytes. Joining PNG data chunks can change the file digest while preserving the ordered compressed stream. Decide which identity the delivery contract protects before using a hash to classify the update.
Make a small test with one valid image represented by multiple consecutive IDAT payloads. Record three comparisons for the optimized output: whole-file digest, digest of the ordered concatenated IDAT bodies, and equality of the decoded RGBA samples. Then supply a re-encoded negative control for the compressed-data policy, and a changed-pixel control for the appearance policy. Record that a stable decoded image alone does not establish an unchanged compressed payload.
The technical guide and test fixture shows OptiPNG 7.9.1 coalescing IDAT segments without changing the concatenated stream in its fixture even though the file hash differs. A signed release that requires original artifact bytes must retain the original file. If a separate caching decision only depends on the compressed image data, report that comparison by its full name so a stable payload is never presented as byte-for-byte agreement with the published image.
Prepared by the FrameSprite Workflow Team with AI assistance. Examples are illustrative unless attributed to a linked fixture.