sprite sheet maker
Keep bitmap diagnostics precise when Windows changes line endings
A sprite converter finishes successfully on one machine and produces an unknown color error on another. When both text files look identical in the editor, look at how the rows are encoded before editing palette choices.
Keep a compact set of golden inputs for the converter. Use two rows with visible pixels on opposite corners, then save one as LF and another as CRLF. Expect the same decoded bitmap after dedicated line-ending normalization. In a third file, replace a known pixel with an invalid character and require a precise diagnostic giving the row, column, and character. This separates portable newline handling from genuine artist input errors.
The technical guide and test fixture reproduces a carriage-return palette error in the tested Sprig 1.1.3 package. Its native fixture decodes the same two pixel rows successfully after converting CRLF to LF. The normalization keeps the palette symbols unchanged.
Make the correction at the boundary that consumes the exported file. Preserve original input in logs or artifacts so a later issue can be reproduced. A converter that discards unspecified characters could make a typo look repaired while shifting every later pixel in a row. The third fixture ensures the repair stays narrow.
Prepared by the FrameSprite Workflow Team with AI assistance. Examples are illustrative unless attributed to a linked fixture.