Studio Yotsuba
Back to Node List

Animated Image Import

animated_image_import

Imports a GIF as a one-layer Aseprite document while preserving each frame's display time.

Reviewed
Guide available

Output Ports

NameTypeDescription
Aseprite
ase
AsepriteFile
One-layer document containing every composited GIF frame and its original duration.
First Frame
preview
Image
First composited frame for a quick still preview.
Frame Count
frame_count
Int
Number of imported GIF frames.
Total Duration (ms)
total_duration_ms
Int
Sum of the preserved per-frame display times.
Warning Codes
warnings
Text
Stable, language-independent codes for metadata that could not be preserved.
Import Report JSON
report_json
Text
Structured diagnostics for automation and the shared import assistant.

Parameters

NameTypeDefaultRangeDescription / Options
GIF File
path
FilePath
——

GIF to import. Frame times are kept individually instead of being averaged into one FPS.

Overview

Converts an animated GIF into a document that can connect directly to the existing Aseprite processing nodes. It preserves each frame's individual duration, such as 40 ms or 120 ms, which makes it suitable for effects and UI animations with uneven timing.

Usage tips

  • Select a GIF, then check the first frame through preview and confirm its length with frame_count and total_duration_ms.
  • Connect ase to nodes such as ase_frame_select or aseprite_export.
  • GIF_LOOP_METADATA_NOT_PRESERVED in warnings does not mean the images or timing failed to import. It only reports that the GIF loop-count metadata is not stored in the PixPipeline document.

Common mistakes

  • Very large GIFs, more than 4,096 frames, or a total duration above 24 hours are rejected for safety. Split or resize the source asset first.
  • GIF delta frames are composited into complete images before storage. This node is not intended for editing the original GIF compression structure.

Related nodes

  • image_sequence_import — use when the animation is supplied as separate still files
  • ase_frame_select — extract a particular imported frame as an image
  • aseprite_export — save the edited result as an Aseprite document
Back to Node List