Back to Node List

SpriteSheet Info

sprite_sheet_info

Normalizes a raw spritesheet image plus partial hints into a SpriteSheet document

Reviewed
Guide available
The node name and summary are available in English. Port, parameter, and article details are currently shown in Japanese.

Input Ports

NameTypeDescription
スプライトシート
spritesheet
Image
Required
情報を正規化する対象のスプライトシート画像です
フレーム数
frame_count
Int
フレーム数のヒントです
FPS
fps
Int
FPS のヒントです
列数
columns
Int
列数のヒントです
行数
rows
Int
行数のヒントです
フレーム幅
frame_width
Int
フレーム幅のヒントです
フレーム高さ
frame_height
Int
フレーム高さのヒントです
配置順
fill_order
Text
配置順のヒントです

Output Ports

NameTypeDescription
スプライトシート
spritesheet
SpriteSheet
正規化した SpriteSheet ドキュメントです
フレーム数
frame_count
Int
正規化後のフレーム数です
FPS
fps
Int
正規化後の FPS です
列数
columns
Int
正規化後の列数です
行数
rows
Int
正規化後の行数です
フレーム幅
frame_width
Int
正規化後のフレーム幅です
フレーム高さ
frame_height
Int
正規化後のフレーム高さです
配置順
fill_order
Text
正規化後の配置順です
概要
summary
Text
metadata の短い概要です
警告
warnings
Text
補正されたヒントや未使用画素についての警告です

Parameters

NameTypeDefaultRangeDescription / Options
フレーム数
frame_count
Int
00–4096

フレーム数ヒントのフォールバック値です

FPS
fps
Int
121–240

FPS ヒントのフォールバック値です

列数
columns
Int
00–512

列数ヒントのフォールバック値です

行数
rows
Int
00–512

行数ヒントのフォールバック値です

フレーム幅
frame_width
Int
00–8192

フレーム幅ヒントのフォールバック値です

フレーム高さ
frame_height
Int
00–8192

フレーム高さヒントのフォールバック値です

配置順
fill_order
Enum
RowMajor

配置順ヒントのフォールバック値です

  • 右へRowMajor
  • 下へColumnMajor

Overview

The entry-point node that converts an ordinary sheet image imported from outside into the SpriteSheet type. Supply hints such as "4 columns × 4 rows" or "32×32 per frame" to normalize it for playback and frame-extraction nodes.

Usage tips

  • This is the first node when playing or splitting a sheet made in another tool: image_loadsprite_sheet_infosprite_sheet_playback.
  • Supply only the hints you know, such as columns=4. The remaining values are inferred from the image size. Explicit frame_width/height is more reliable than inference.
  • You can also set fps here, which becomes the default downstream playback speed.

Common pitfalls

  • Connecting a multi-frame sheet with no hints: with no information, it is conservatively interpreted as one image. Supply at least columns or frame_width.
  • frame_width or frame_height exceeds the image: the node reports a NodeError instead of creating metadata that downstream frame extraction cannot use.
  • Hints conflict or do not divide the image evenly: the node normalizes to a usable grid and reports adjusted frame_count/columns/rows and unused edge pixels in warnings.

Related nodes

  • sprite_sheet_playback / sprite_sheet_frame_get — use the normalized result
  • sprite_sheet_pack — generate a sheet inside the app
  • image_load — load an external sheet image

Examples

  1. Connect an externally imported spritesheet image to spritesheet.
  2. Enter only the known information in columns, frame_width, or other fields.
  3. Pass the output SpriteSheet to SpriteSheetPlayback or SpriteSheetFrameGet.

Additional notes:

  • SpriteSheetInfo is an adapter from raw Image to SpriteSheet.
  • If the information is incomplete, it fills in as much as possible from image size and connected hints.
  • With no hints, it uses the conservative interpretation of a single image first.
  • Use summary for the resolved result and warnings to see what changed from the hints.
Back to Node List
SpriteSheet Info — PixPipeline Node Reference