Nodes/PlagueKind-Nodes/Visual Crop + Resize (BBox)
ComfyUI Node

Visual Crop + Resize (BBox)

A ComfyUI node in PlagueKind/image with 21 inputs and 6 outputs.

By PlagueKind·Created 3 months ago·Updated about 15 hours ago· 16
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)

NameTypeDefaultDescription
aspect_ratioCOMBO10 options: Free, 1:1, 4:3, 3:4, 16:9, 9:16, +4
custom_ratio_wINT11–100
custom_ratio_hINT11–100
crop_xFLOAT0.0000–1
crop_yFLOAT0.0000–1
crop_wFLOAT1.0000.001–1
crop_hFLOAT1.0000.001–1
show_crop_valuesBOOLEANfalse
scale_modeCOMBO5 options: Dimensions (W × H), Multiplier, Longer Side, Shorter Side, Total Pixels (MP)
long_side_targetINT10241–16384
short_side_targetINT7681–16384
widthINT10241–16384
heightINT10241–16384
multiplierFLOAT1.00
megapixelsFLOAT1.00
upscale_methodCOMBO5 options: nearest-exact, bilinear, area, bicubic, lanczos
post_cropCOMBO2 options: disabled, center
divisible_byINT321–512
maintain_aspectBOOLEANtrue
imageoptIMAGE
maskoptMASK

Outputs (6)

NameTypeDescription
imageIMAGE
maskMASK
widthINT
heightINT
xINT
yINT