ComfyUI Node

Auto Crop

A ComfyUI node in image/transform with 4 inputs and 1 output.

By mikemojen·Created 8 months ago·Updated 3 months ago· 0
Auto Crop
  • image
  • cropped_image
margin2
white_threshold250
alpha_threshold0.10
Categoryimage/transform

Inputs (4)

NameTypeDefaultDescription
imageIMAGE
marginoptINT20–100
white_thresholdoptINT250200–255Pixels with all RGB values above this are considered white (0-255)
alpha_thresholdoptFLOAT0.100–1Pixels with alpha below this are considered transparent (0-1)

Outputs (1)

NameTypeDescription
cropped_imageIMAGE