Files
ausboss-ComfyUI-AusBoss/js/docs/AUSBOSS_NODES_SelectFrame.md
T
ausboss 3f715a4af8 Ship the crush-list build-out: 7 new node files, replace button, video and LoRA polish
- New nodes: Image Resize plus the Utility group (Text, Integer, Float,
  Show Text, Math Expression, Select Every Nth, Split Batch, Merge
  Batches, Free Memory) - the dependency-free gaps that let shared
  workflows drop heavy packs.
- Replace with AusBoss nodes (prototype): preview-then-confirm graph
  rewrite swapping known third-party nodes for pack equivalents, with a
  tested translation map, per-node opt-out, and refuse-with-reason for
  nodes the pack cannot stand in for.
- Load Video: single-frame FRAME picker, an honest "what will load"
  label from the probed source rate, drop-a-video-to-restore. Save
  Video: format-aware widgets and a file_path output. Stitch Inpaint
  gained a blend_mask output, Select Frame negative from-the-end
  indexing, Image Size a batch count - all appended, saved workflows
  load unchanged.
- LoRA Loader: drag-to-reorder rows, hover thumbnails on rows, file
  size and date in the info card.
- Appearance: flagship scheme deepened to slate-teal; the retired
  bright-teal pair upgrades automatically via LEGACY_SCHEME_PAIRS.
  Optional queue-completion chime, off by default.
- Image Resize invariant: pixels are only invented on an explicit
  width+height pad request - scale-derived modes resolve divisible_by
  snaps with a sub-half-step resize, never bars.
- Docs refreshed for six stale pages, stale text and metadata fixed
  across the pack, the panel-height rule codified in AGENTS.md and the
  brand skill, and ausboss_node_tour.json added - a model-free example
  exercising 17 node types in one graph.

Validated: scripts/validate_nodes.py (24 files), 300 JS tests, all
Python suites under the ComfyUI embedded interpreter.
2026-08-27 13:30:35 -05:00

1.2 KiB

Select Frame

Selects one unchanged image from an IMAGE batch. Frame numbers are one-based, so 1 is the first frame and the last valid value is the batch size. Negative numbers count from the end: -1 is the last frame, -2 the one before it — handy when the batch length varies, as a video's often does. 0 is invalid in both directions.

Controls

  • frames: A BHWC image batch, commonly the frame output of a video loader.
  • frame_number: The one-based frame to return; negative counts from the end (-1 is the last frame). An out-of-range value stops with the available range instead of silently clamping.

Output

  • image: The selected frame as a one-image BHWC batch.

Preview

The panel shows the frame that was selected, so a picked frame can be checked without a separate preview node. It updates when the graph runs — changing frame_number does not re-render it on its own, because the frame's pixels only exist on the server.

The node performs no network requests. It writes one preview PNG per run into ComfyUI's temp folder, the same place PreviewImage writes, which is cleared with the rest of the session's scratch files.