Nodes/Img Label Tools/Image Equalizer
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

By rjgoif·Created 8 months ago·Updated about a month ago· 5
Image Equalizer
  • images
  • IMAGE
size_modegrow
upscale_methodlanczos
keep_proportionpad
pad_colorblack
crop_positioncenter
CategoryImage Label Tools

Inputs (6)

NameTypeDefaultDescription
imagesIMAGE
size_modeCOMBOgrow2 options: grow, shrink
upscale_methodCOMBOlanczos5 options: nearest-exact, bilinear, area, bicubic, lanczos
keep_proportionCOMBOpad5 options: pad, stretch, resize, crop, total_pixels
pad_colorCOMBOblack5 options: black, white, gray, average, average_edge
crop_positionCOMBOcenter5 options: center, top, bottom, left, right

Outputs (1)

NameTypeDescription
IMAGEIMAGE