ComfyUI Node
Ino Image Resize By Longer Side And Crop V2
Resizes an image to fit target dimensions with optional cropping and position control.
Ino Image Resize By Longer Side And Crop V2
- image
- image
◄target_width512►
◄target_height512►
◄padding_color▾►
◄interpolation▾►
◄croptrue►
◄position▾►
◄x0►
◄y0►
CategoryInoImageHelper
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| target_width | INT | 5121–16384 | — |
| target_height | INT | 5121–16384 | — |
| padding_color | COMBO | 2 options: white, black | |
| interpolation | COMBO | 5 options: area, bicubic, nearest-exact, bilinear, lanczos | |
| crop | BOOLEAN | true | — |
| position | COMBO | 5 options: top-left, top-center, center, bottom-center, bottom-right | |
| x | INT | 00–16384 | — |
| y | INT | 00–16384 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |