Studio Yotsuba
Back to Node List

Sprite Sheet Import

sprite_sheet_import

Analyzes an external sheet, previews the proposed grid, then repacks confirmed cells without margins or spacing.

Reviewed
Guide available

Output Ports

NameTypeDescription
Sprite Sheet
spritesheet
SpriteSheet
Sprite Sheet produced by the import analysis.
Source
source
Image
Source produced by the import analysis.
Grid Preview
overlay
Image
Grid Preview produced by the import analysis.
Confidence
confidence
Float
Confidence produced by the import analysis.
Candidate JSON
candidate_json
Text
Candidate JSON produced by the import analysis.
Warning Codes
warnings
Text
Warning Codes produced by the import analysis.
Import Report JSON
report_json
Text
Import Report JSON produced by the import analysis.

Parameters

NameTypeDefaultRangeDescription / Options
Sheet Image
path
FilePath
——

Select the external sprite sheet to inspect. The source is not changed.

Layout
layout_mode
Enum
Detected—

Switch to Manual when the cyan grid does not match the frames.

  • DetectedDetected
    Use the analyzed layout
  • ManualManual
    Override every layout value
Transparent Threshold
alpha_threshold
Float
0.010–1 / step 0.01

Alpha at or below this value counts as a separator. Start at 0.01; try 0.05-0.15 for faint edge noise.

Confirm Import
confirmed
Bool
false—

Enable only after checking the grid preview. Until then the Sprite Sheet output stays a safe placeholder.

FPS
fps
Int
121–60

Playback speed stored in the confirmed sheet. 8-12 suits chunky pixel animation; 24 suits smoother motion.

Columns
columns
Int
10–128

Manual Columns override used when Layout is Manual.

Rows
rows
Int
10–128

Manual Rows override used when Layout is Manual.

Frame Width
frame_width
Int
10–4096

Manual Frame Width override used when Layout is Manual.

Frame Height
frame_height
Int
10–4096

Manual Frame Height override used when Layout is Manual.

Left Margin
margin_x
Int
00–4096

Manual Left Margin override used when Layout is Manual.

Top Margin
margin_y
Int
00–4096

Manual Top Margin override used when Layout is Manual.

Horizontal Gap
spacing_x
Int
00–4096

Manual Horizontal Gap override used when Layout is Manual.

Vertical Gap
spacing_y
Int
00–4096

Manual Vertical Gap override used when Layout is Manual.

Overview

Safely converts an external sprite sheet with margins or spacing into PixPipeline's standard SpriteSheet. It shows cyan split lines and confidence before confirmation, preventing a bad automatic split from silently reaching downstream nodes.

Usage tips

  1. Select the sheet image and preview overlay.
  2. Even at confidence 0.75 or above, verify that every frame fits inside the cyan boxes.
  3. If the split is wrong, switch to Manual and adjust columns, rows, frame dimensions, top-left margin, and spacing.
  4. Review SPRITESHEET_EMPTY_CELL and SPRITESHEET_UNUSED_PIXELS. When intentional, enable Confirm This Split.

After confirmation, margins and spacing are removed and frames are repacked into the existing SpriteSheet schema. Margin and spacing are not added to the stored format.

Common mistakes

  • Fully transparent rows or columns inside a character can make automatic detection split too finely. Use Manual when confidence is low.
  • If translucent edge noise hides separators, raise Transparency Threshold gradually from about 0.05 to 0.15. Too high a value can erase faint effects, so recheck the overlay.
  • Before confirmation, spritesheet is a safe 1×1 placeholder. If downstream appears empty, confirm the reviewed split.

Related nodes

  • sprite_sheet_to_frames — expand the confirmed sheet into a frame list
  • sprite_sheet_playback — preview the confirmed animation
  • sprite_sheet_info — attach layout metadata to an already margin-free sheet
  • image_sequence_import — use when every frame is supplied as a separate file
Back to Node List