Nodes/ComfyUI-AusBoss/Image Size πŸ†Ž
ComfyUI Node

Image Size πŸ†Ž

Reads an image's dimensions as INTs: width, height, and the longest and shortest edges. Wire them into resize, latent, or conditioning nodes instead of retyping numbers that drift out of date.

By ausbossΒ·Created about a month agoΒ·Updated 7 days agoΒ· 2
Image Size πŸ†Ž
  • image
  • width
  • height
  • longest_edge
  • shortest_edge
CategoryπŸ†Ž AusBoss/Image

Inputs (1)

NameTypeDefaultDescription
imageIMAGEBHWC image batch to measure.

Outputs (4)

NameTypeDescription
widthINTWidth in pixels.
heightINTHeight in pixels.
longest_edgeINTThe larger of width and height.
shortest_edgeINTThe smaller of width and height.