Studio › Manual › Sprites and images

Cutting strips, grids and sheet data

The import sheet shows the picture with a numbered box round each frame it will cut, and the frames themselves underneath; every change shows at once.

  • Cut ▸ Automatic: strips by their name, other pictures one frame each. One frame per picture ignores the names. Strip: N frames side by side.
  • Cut ▸ Grid: by Frame size (width and height) or by Columns and rows, with an Offset (pixels before the first frame) and a Gap (pixels between frames). Leave out empty cells drops cells with no visible pixel, such as the end of a sheet. Pixels left over at the right or bottom are noted.
  • Cut ▸ Sheet data (JSON): choose the sheet's JSON (its picture is found from the JSON, else the same name with .png beside it; or choose both files). Studio reads the frame rectangles, their order and their times:
    • frame lists with times and tags, as a record of frames or a list ("hash" or "array"); One sprite per tag makes a sprite for each tag (<name>_<tag>), in the tag's direction (forward, reverse, ping-pong);
    • packed sheets: trimmed frames are put back at their full size and frames stored turned are turned upright; frames named like walk_01, walk_02, idle_01 can become one sprite per name;
    • a plain list: {"frames": [{"x", "y", "w", "h"}]}.

Data that doesn't match its picture (a frame outside it) says which frame. A texture atlas that belongs to a skeleton is not a sprite sheet: import the skeleton's own JSON.

Works with the JSON sheet exports of Aseprite and TexturePacker. Aseprite and TexturePacker are products of their makers; Studio is an independent tool, not affiliated with or endorsed by either.

Keys are shown as on the Mac: ⌘ Command, ⌥ Option, ⌃ Control, ⇧ Shift. Studio for Windows shows its own keys beside each menu item.