ComfyUI Node
Nougan Match Image Size π
A ComfyUI node in Nougan/image with 9 inputs and 4 outputs.
Nougan Match Image Size π
- input
- reference_image
- image
- mask
- width
- height
βresize_typescale dimensionsβΊ
βscale_methodlanczosβΊ
βwidth0βΊ
βheight0βΊ
βcropcenterβΊ
βpad_color#000000βΊ
βround_to1βΊ
CategoryNougan/image
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| input | IMAGE,MASK | β | |
| resize_type | COMBO | scale dimensions | 8 options: scale dimensions, fit within, fill (crop), pad to, shortest side, longest side, +2 |
| scale_method | COMBO | lanczos | 5 options: nearest-exact, bilinear, area, bicubic, lanczos |
| reference_imageopt | IMAGE,MASK | β | |
| widthopt | INT | 00β16384 | 0 = use reference width |
| heightopt | INT | 00β16384 | 0 = use reference height |
| cropopt | COMBO | center | used by 'scale dimensions' |
| pad_coloropt | STRING | #000000 | hex color used by 'pad to' |
| round_toopt | INT | 11β128 | round computed dims to a multiple (e.g. 32) |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | β |
| mask | MASK | β |
| width | INT | β |
| height | INT | β |