sprite sheet maker
Normalize Phone Image Orientation Before Reserving Sprite Sheet Cells
Phone JPEGs can carry raw dimensions and an orientation tag that changes how a browser decodes the drawing. If your manifest uses only the stored header dimensions, a sprite sheet maker can reserve a landscape cell for artwork that arrives upright in a portrait rectangle.
Compare the raw and decoded paths
Prepare two test JPEGs with the same stored canvas and an asymmetric colored corner. Give one the normal orientation and the other a tag that corresponds to a quarter turn. Decode with the actual browser or platform used by your packer. Capture the observed canvas dimensions and corner locations, then allocate atlas cells based on that result.
Avoid rotating a file twice. If the orientation is already applied during decode, a second manual rotation would corrupt the pose. To prove the packed result, sample the marker at the expected corner and measure the final crop.
FrameSprite's technical guide and test fixture reports a browser test where the same stored 40 by 16 pixels export as either 40 by 16 or 16 by 40, depending on the orientation tag. Keep that preflight test near the real receiving path.
Prepared by the FrameSprite Workflow Team with AI assistance. Examples are illustrative unless attributed to a linked fixture.