ComfyUI Node
Image Advanced Resize
A ComfyUI node in Beispiele/Bild with 9 inputs and 6 outputs.
Image Advanced Resize
- image
- width
- height
- ratio
- aspect_type
- aspect_ratio_common
- output_image
◄resizefalse►
◄grayscalefalse►
◄keep_aspect_ratiotrue►
◄resize_modeby_megapixel►
◄target_megapixel1.0►
◄new_width256►
◄new_height256►
◄divisible_by1►
CategoryBeispiele/Bild
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| resize | BOOLEAN | false | — |
| grayscale | BOOLEAN | false | — |
| keep_aspect_ratio | BOOLEAN | true | — |
| resize_mode | COMBO | by_megapixel | 2 options: by_dimensions, by_megapixel |
| target_megapixelopt | FLOAT | 1.0 | — |
| new_widthopt | INT | 2561–4096 | — |
| new_heightopt | INT | 2561–4096 | — |
| divisible_byopt | COMBO | 1 | 7 options: 1, 2, 4, 8, 16, 32, +1 |
Outputs (6)
| Name | Type | Description |
|---|---|---|
| width | INT | — |
| height | INT | — |
| ratio | FLOAT | — |
| aspect_type | STRING | — |
| aspect_ratio_common | STRING | — |
| output_image | IMAGE | — |