ComfyUI Node
Image Equalizer
Resizes images to match the largest or smallest image among them. size_mode determines target dimensions: - grow: all images match the largest dimensions - shrink: all images match the smallest dimensions keep_proportion maintains aspect ratio by highest dimension: - pad: adds padding to fit target size (default) - stretch: directly resizes to target - resize: scales to fit within target - crop: crops to fill target - total_pixels: maintains total pixel count pad_color options: - black: RGB(0,0,0) - white: RGB(255,255,255) - gray: RGB(128,128,128) - average: gamma-corrected weighted mean color of entire image - average_edge: weighted mean of peripheral 5% of pixels
Image Equalizer
- images
- IMAGE
◄size_modegrow►
◄upscale_methodlanczos►
◄keep_proportionpad►
◄pad_colorblack►
◄crop_positioncenter►
CategoryImage Label Tools
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| images | IMAGE | — | |
| size_mode | COMBO | grow | 2 options: grow, shrink |
| upscale_method | COMBO | lanczos | 5 options: nearest-exact, bilinear, area, bicubic, lanczos |
| keep_proportion | COMBO | pad | 5 options: pad, stretch, resize, crop, total_pixels |
| pad_color | COMBO | black | 5 options: black, white, gray, average, average_edge |
| crop_position | COMBO | center | 5 options: center, top, bottom, left, right |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |