Nodes/SDXL Adherence/Crop By BBox
ComfyUI Node

Crop By BBox

A ComfyUI node in itsjustregi / SDXL Adherence with 6 inputs and 2 outputs.

By regiellis·Created 12 months ago·Updated 11 months ago· 9
Crop By BBox
  • image
  • image_cropped
  • info_json
bbox_json
resize_backtrue
clamp_to_boundstrue
feather0
expand0
Categoryitsjustregi / SDXL Adherence

Inputs (6)

NameTypeDefaultDescription
imageIMAGEImage to crop (H×W×C or B×H×W×C).
bbox_jsonSTRINGBBox JSON: {x,y,w,h,W,H}.
resize_backoptBOOLEANtrueResize crop back to original content size w×h.
clamp_to_boundsoptBOOLEANtrueClamp crop rect to image bounds.
featheroptINT00–32Soft edge radius in pixels.
expandoptINT00–256Grow crop rect by N px in all directions.

Outputs (2)

NameTypeDescription
image_croppedIMAGE
info_jsonSTRING