Nodes/digit-comfyui/DIGIT Drag Crop
ComfyUI Node

DIGIT Drag Crop

A ComfyUI node in DIGIT with 15 inputs and 3 outputs.

By thedepartmentofexternalservices·Created 6 months ago·Updated 6 days ago· 0
DIGIT Drag Crop
  • image
  • mask
  • IMAGE
  • MASK
  • CROP_JSON
drawing_versioninit
crop_left0
crop_right0
crop_top0
crop_bottom0
crop_width512
crop_height512
last_width0
last_height0
dest_width0
dest_height0
fit_modenone
round_tooff
CategoryDIGIT

Inputs (15)

NameTypeDefaultDescription
drawing_versionSTRINGinit
imageIMAGE
crop_leftINT00–8192
crop_rightINT00–8192
crop_topINT00–8192
crop_bottomINT00–8192
crop_widthINT5121–8192
crop_heightINT5121–8192
last_widthINT0
last_heightINT0
maskoptMASK
dest_widthoptINT00–8192Destination width. 0 = use crop size as-is.
dest_heightoptINT00–8192Destination height. 0 = use crop size as-is.
fit_modeoptCOMBOnonenone=no resize, crop=fill and crop, fit_h=match height, fit_v=match width
round_tooptCOMBOoffRound output dimensions to nearest multiple. 8 works for most models, 64 for SDXL.

Outputs (3)

NameTypeDescription
IMAGEIMAGE
MASKMASK
CROP_JSONSTRING