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.
Image Size π
- image
- width
- height
- longest_edge
- shortest_edge
Categoryπ AusBoss/Image
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | BHWC image batch to measure. |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| width | INT | Width in pixels. |
| height | INT | Height in pixels. |
| longest_edge | INT | The larger of width and height. |
| shortest_edge | INT | The smaller of width and height. |