ComfyUI Node
TS Get Image Size
Return the larger or the smaller side of an image as an INT.
TS Get Image Size
- image
- size
◄large_sidetrue►
CategoryTS/Image/Batch
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | Image whose dimensions are measured. | |
| large_side | BOOLEAN | true | If enabled, returns the longer side; otherwise the shorter side. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| size | INT | Length in pixels of the selected side (larger or smaller). |