ComfyUI Node
MatchImageToAspectRatio
A ComfyUI node in image with 9 inputs and 3 outputs.
MatchImageToAspectRatio
- image
- ratio
- ratio_w
- ratio_h
◄ratio_16_9true►
◄ratio_9_16true►
◄ratio_4_3true►
◄ratio_3_4true►
◄ratio_3_2true►
◄ratio_2_3true►
◄ratio_1_1true►
◄aspect_ratio16:9, 9:16►
Categoryimage
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| ratio_16_9opt | BOOLEAN | true | — |
| ratio_9_16opt | BOOLEAN | true | — |
| ratio_4_3opt | BOOLEAN | true | — |
| ratio_3_4opt | BOOLEAN | true | — |
| ratio_3_2opt | BOOLEAN | true | — |
| ratio_2_3opt | BOOLEAN | true | — |
| ratio_1_1opt | BOOLEAN | true | — |
| aspect_ratioopt | STRING | 16:9, 9:16 | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| ratio | STRING | — |
| ratio_w | INT | — |
| ratio_h | INT | — |