ComfyUI Node
Visual Crop + Resize (BBox)
A ComfyUI node in PlagueKind/image with 21 inputs and 6 outputs.
Visual Crop + Resize (BBox)
- image
- mask
- image
- mask
- width
- height
- x
- y
◄aspect_ratio▾►
◄custom_ratio_w1►
◄custom_ratio_h1►
◄crop_x0.000►
◄crop_y0.000►
◄crop_w1.000►
◄crop_h1.000►
◄show_crop_valuesfalse►
◄scale_mode▾►
◄long_side_target1024►
◄short_side_target768►
◄width1024►
◄height1024►
◄multiplier1.00►
◄megapixels1.00►
◄upscale_method▾►
◄post_crop▾►
◄divisible_by32►
◄maintain_aspecttrue►
CategoryPlagueKind/image
Inputs (21)
| Name | Type | Default | Description |
|---|---|---|---|
| aspect_ratio | COMBO | 10 options: Free, 1:1, 4:3, 3:4, 16:9, 9:16, +4 | |
| custom_ratio_w | INT | 11–100 | — |
| custom_ratio_h | INT | 11–100 | — |
| crop_x | FLOAT | 0.0000–1 | — |
| crop_y | FLOAT | 0.0000–1 | — |
| crop_w | FLOAT | 1.0000.001–1 | — |
| crop_h | FLOAT | 1.0000.001–1 | — |
| show_crop_values | BOOLEAN | false | — |
| 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 | |
| post_crop | COMBO | 2 options: disabled, center | |
| divisible_by | INT | 321–512 | — |
| maintain_aspect | BOOLEAN | true | — |
| imageopt | IMAGE | — | |
| maskopt | MASK | — |
Outputs (6)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| mask | MASK | — |
| width | INT | — |
| height | INT | — |
| x | INT | — |
| y | INT | — |