ComfyUI Node
Aspect Ratio Adjuster
A ComfyUI node in SmartScaler with 5 inputs and 2 outputs.
Aspect Ratio Adjuster
- image
- adjusted_image
- new_ratio
◄target_ratio16:9►
◄custom_ratio_width16.0►
◄custom_ratio_height9.0►
◄methodcrop►
CategorySmartScaler
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| target_ratio | COMBO | 16:9 | 4 options: 16:9, 4:3, 1:1, Custom |
| custom_ratio_width | FLOAT | 16.01–100 | — |
| custom_ratio_height | FLOAT | 9.01–100 | — |
| method | COMBO | crop | 2 options: crop, pad |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| adjusted_image | IMAGE | — |
| new_ratio | STRING | — |