ComfyUI Node
AdvResize
A ComfyUI node in MKRShift Nodes/Utility/Resize with 16 inputs and 3 outputs.
AdvResize
- image
- mask
- image
- mask
- resize_info
◄mode▾►
◄target_width1024►
◄target_height1024►
◄side_length1024►
◄interpolation▾►
◄round_mode▾►
◄align_to_multiple1►
◄anchor▾►
◄allow_upscaletrue►
◄pad_r0.00►
◄pad_g0.00►
◄pad_b0.00►
◄pad_a1.00►
◄mask_pad_value0.00►
CategoryMKRShift Nodes/Utility/Resize
Inputs (16)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| mode | COMBO | 5 options: fit, fill_crop, stretch, long_side, short_side | |
| target_width | INT | 10241–32768 | — |
| target_height | INT | 10241–32768 | — |
| side_length | INT | 10241–32768 | — |
| interpolation | COMBO | 6 options: lanczos, bicubic, bilinear, hamming, box, nearest | |
| round_mode | COMBO | 3 options: round, floor, ceil | |
| align_to_multiple | INT | 11–512 | — |
| anchor | COMBO | 9 options: center, top_left, top, top_right, left, right, +3 | |
| allow_upscale | BOOLEAN | true | — |
| pad_r | FLOAT | 0.000–1 | — |
| pad_g | FLOAT | 0.000–1 | — |
| pad_b | FLOAT | 0.000–1 | — |
| pad_a | FLOAT | 1.000–1 | — |
| mask_pad_value | FLOAT | 0.000–1 | — |
| maskopt | MASK | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| mask | MASK | — |
| resize_info | STRING | — |