Nodes/lf-nodes/Extract Image Regions
ComfyUI Node

Extract Image Regions

A ComfyUI node in ✨ LF Nodes/Regions with 3 inputs and 4 outputs.

By lucafoscili·Created 2 years ago·Updated 2 days ago· 36
Extract Image Regions
  • image
  • regions
  • images
  • image_list
  • layout
  • editor_config
◄canvas_size512►
Category✨ LF Nodes/Regions

Inputs (3)

NameTypeDefaultDescription
imageIMAGEExactly one RGB/RGBA source image.
regionsJSONObject with ordered regions: [{id,label,rect:[x,y,width,height]}]. No overlaps.
canvas_sizeINT5121–4096Square editing canvas; each crop fits without stretching, with edge padding.

Outputs (4)

NameTypeDescription
imagesIMAGEAll ordered region canvases in one compatible batch.
image_listIMAGEOrdered individual region canvases.
layoutJSONSource rectangles and canvas content rectangles for composition.
editor_configJSONNamed image_entries configuration for the image editing breakpoint.