generated

RgthreeImageOrLatentSize

The RgthreeImageOrLatentSize node reports the dimensions associated with an image or latent.

Rgthree Image Or Latent Size

WIDTH
HEIGHT
rgthree comfy

Description

The RgthreeImageOrLatentSize node reports the dimensions associated with an image or latent. It is a utility node intended to expose size information as plain integer values so that other nodes can consume width and height directly.

The node's docstring describes it simply as "The ImageOrLatentSize Node." It does not require any inputs in the current source, and it returns two integer outputs.

Outputs

OutputTypeDescription
1INTThe first size value, typically the width.
2INTThe second size value, typically the height.

Both outputs are integers, making them suitable for wiring into nodes that expect numeric width and height values rather than an image or latent object.

Usage Notes

  • Use this node when a downstream node needs the dimensions of an image or latent as separate integers.
  • The node currently declares no inputs. Connect its two INT outputs to whichever numeric width and height inputs you need to drive.
  • Because the outputs are plain integers, they can be used for arithmetic, comparison, or passed through to other size-aware nodes without additional conversion.

Comments

Sign in with GitHub to join the discussion.

Loading comments…