SourceNode

Overview

Loads images from the Source tab and outputs one or more frames.

Inputs

  • Offset (Int): Index of the first frame to load

Parameters

  • n_frames (constructor): Number of frames to output per compute

  • grayscale_mode (constructor): Convert to grayscale if True

  • enable_resize (constructor): Downscale images larger than target_size

  • target_size (constructor): Max (height, width) for resizing

Outputs

  • Image (GrayScaleImage or ColorImage): One output per frame

Example

Set Offset to 10 and n_frames to 3 to output frames 10, 11, and 12.