ComfyUI Node
ImageCropByRatioAndResize
A ComfyUI node in essentials with 5 inputs and 3 outputs.
ImageCropByRatioAndResize
- image
- IMAGE
- width
- height
◄width_ratio_size512►
◄height_ratio_size512►
◄position▾►
◄interpolation▾►
Categoryessentials
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| width_ratio_size | INT | 5121–8192 | — |
| height_ratio_size | INT | 5121–8192 | — |
| position | COMBO | 5 options: center, top, right, bottom, left | |
| interpolation | COMBO | 6 options: nearest, bilinear, bicubic, area, nearest-exact, lanczos |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |
| width | INT | — |
| height | INT | — |