ComfyUI Node: LayerUtility: CropByMask V4

Authored by aining2022

Created

Updated

27 stars

Run ComfyUI workflows without the setup

No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.

Category

RunningHub/LayerUtility

Inputs

detect
  • mask_area
  • min_bounding_rect
  • max_inscribed_rect
top_reserve INT
bottom_reserve INT
left_reserve INT
right_reserve INT
round_to_multiple
  • 8
  • 16
  • 32
  • 64
  • 128
  • 256
  • 512
  • None
reuse_crop_box BOOLEAN
device
  • CPU
  • GPU
image IMAGE
mask_image IMAGE
crop_box BOX

Outputs

IMAGE

IMAGE

BOX

IMAGE

Extension: ComfyUI_Swwan

Collection of image processing utility nodes for ComfyUI including intelligent cropping, aspect ratio scaling, and crop box restoration capabilities. (Description by CC)

Authored by aining2022

Looking for a different node?

Run ComfyUI workflows without the setup

No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.

Learn more