ComfyUI Node
Unified Resize Image / Mask (Clean)
A ComfyUI node in PlagueKind/image with 13 inputs and 4 outputs.
Unified Resize Image / Mask (Clean)
- image
- mask
- image
- mask
- width
- height
◄scale_mode▾►
◄long_side_target1024►
◄short_side_target768►
◄width1024►
◄height1024►
◄multiplier1.00►
◄megapixels1.00►
◄upscale_method▾►
◄crop▾►
◄divisible_by32►
◄maintain_aspecttrue►
CategoryPlagueKind/image
Inputs (13)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| scale_mode | COMBO | 5 options: Dimensions (W × H), Multiplier, Longer Side, Shorter Side, Total Pixels (MP) | |
| long_side_target | INT | 10241–16384 | — |
| short_side_target | INT | 7681–16384 | — |
| width | INT | 10241–16384 | — |
| height | INT | 10241–16384 | — |
| multiplier | FLOAT | 1.00 | — |
| megapixels | FLOAT | 1.00 | — |
| upscale_method | COMBO | 5 options: nearest-exact, bilinear, area, bicubic, lanczos | |
| crop | COMBO | 2 options: disabled, center | |
| divisible_by | INT | 321–512 | — |
| maintain_aspect | BOOLEAN | true | — |
| maskopt | MASK | — |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| mask | MASK | — |
| width | INT | — |
| height | INT | — |