ComfyUI Node
Image Scale By Aspect Ratio
A ComfyUI node in BCNodes/image with 11 inputs and 5 outputs.
Image Scale By Aspect Ratio
- image
- mask
- image
- mask
- original_size
- width
- height
◄aspect_ratio▾►
◄proportional_width1►
◄proportional_height1►
◄fit▾►
◄method▾►
◄round_to_multiple▾►
◄scale_to_side▾►
◄scale_to_length1024►
◄background_color#000000►
CategoryBCNodes/image
Inputs (11)
| Name | Type | Default | Description |
|---|---|---|---|
| aspect_ratio | COMBO | 9 options: original, custom, 1:1, 3:2, 4:3, 16:9, +3 | |
| proportional_width | INT | 11–100000000 | — |
| proportional_height | INT | 11–100000000 | — |
| fit | COMBO | 3 options: letterbox, crop, fill | |
| method | COMBO | 6 options: lanczos, bicubic, hamming, bilinear, box, nearest | |
| round_to_multiple | COMBO | 8 options: 8, 16, 32, 64, 128, 256, +2 | |
| scale_to_side | COMBO | 6 options: None, longest, shortest, width, height, total_pixel(kilo pixel) | |
| scale_to_length | INT | 10244–100000000 | — |
| background_color | STRING | #000000 | — |
| imageopt | IMAGE | — | |
| maskopt | MASK | — |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| mask | MASK | — |
| original_size | BOX | — |
| width | INT | — |
| height | INT | — |