Nodes/ComfyUI-Koolook/Easy Resize (deprecated, use 'Easy Resize (Koolook)')
ComfyUI Node

Easy Resize (deprecated, use 'Easy Resize (Koolook)')

Easy Resize was renamed, and here's what to use

By malkuthro·Created 11 months ago·Updated about 21 hours ago· 8
Easy Resize (deprecated, use 'Easy Resize (Koolook)')
  • image
  • mask
  • IMAGE
  • composed_IMAGE
  • MASK
  • inverted_MASK
  • width
  • height
  • COLOR_PANEL
  • original_width
  • original_height
  • original_aspect_ratio
base_onWidth
base_size512
aspect_ratio16:9
divisible_by32
upscale_methodnearest-exact
keep_proportionstretch
crop_positioncenter
pad_color_modeBlack
panel_color_modeBlack
devicecpu
pad_color0, 0, 0
panel_color0, 0, 0
invert_composed_MASKfalse

This page is a signpost. EasyResize is the deprecated, backward-compatible name for the node now called Easy Resize (Koolook) - the class is EasyResize_Koolook. Same inputs, same outputs, same behavior, one new name. If you're building a new workflow, search for "Easy Resize (Koolook)" and skip this one.

So why does the old name still exist at all? Compatibility. The pack author renamed the node ID to EasyResize_Koolook because the bare EasyResize name collided with at least one other pack in the ecosystem (ComfyUI-EasyFilePaths registers the same ID). Two packs registering the same class name is a coin flip over which one your workflow actually loads - the sort of ambiguity that produces "my workflow broke after an update" tickets. The _Koolook suffix follows the same family pattern as Easy_hdr_VAE_encode/decode and makes the ownership unambiguous.

The old alias is kept alive purely so saved workflows keep loading. The source comment is blunt about it: it'll be removed in a future major release once the deprecation has had time to propagate. So don't get attached.

What the actual node does

For the record, since this page gets traffic from people with the old name in a saved workflow: it resizes an image to a target aspect ratio and model-friendly divisible size, with stretch/letterbox/pillarbox options and an optional mask path that produces a composed image, inverted mask, and color panel. It's the node you use when you need everything to be, say, 16:9 and a multiple of 64 for your video model. Full writeup on the Easy Resize (Koolook) page.

What to do

If you loaded an old workflow and see this node, it still works - that's the point of the alias. But for anything new:

  1. Search the node menu for Easy Resize (Koolook) (EasyResize_Koolook).
  2. Use that. It's the canonical ID, the one that won't collide, and the one that'll keep working.

Install

Either way, it's the same pack. ComfyUI Manager → Install Custom Nodes → Git URL:

https://github.com/malkuthro/ComfyUI-Koolook.git

Or:

cd ComfyUI/custom_nodes
git clone https://github.com/malkuthro/ComfyUI-Koolook.git

Restart and both names appear under Koolook/Image - the deprecated one is listed with a "deprecated" display name so you don't grab it by accident. Standard pack gotcha: install once, via one method. Manager installs land at custom_nodes/koolook/; cloning a second copy creates a parallel install that double-registers and corrupts the workflow store on every boot until you remove one folder.

CategoryKoolook/Image

Inputs (15)

NameTypeDefaultDescription
imageIMAGE
base_onCOMBOWidthChoose which target dimension is driven by base_size; the other is computed from aspect_ratio.
base_sizeINT5121–16384Target width or height before snapping to divisible_by.
aspect_ratioSTRING16:9Target ratio as W:H, e.g. 16:9, 1:1, or 9:16.
divisible_byINT321–128Snap final width and height to a multiple; use the model's latent/grid requirement.
upscale_methodCOMBOnearest-exactComfyUI resize filter used for the image and mask.
keep_proportionCOMBOstretchstretch fills the target exactly; letterbox/pillarbox preserve proportions and add bars.
crop_positionCOMBOcenterPlacement of the preserved image when bars are added. Top/bottom affect letterbox; left/right affect pillarbox.
pad_color_modeCOMBOBlackColor for letterbox/pillarbox bars. Custom reads pad_color.
panel_color_modeCOMBOBlackColor for COLOR_PANEL and masked composed_IMAGE background. Custom reads panel_color.
deviceCOMBOcpuDevice used for resize/composite tensors.
maskoptMASK
pad_coloroptSTRING0, 0, 0Custom RGB bar color in 0..1 floats, e.g. 0, 0, 0 or 1, 0.5, 0.
panel_coloroptSTRING0, 0, 0Custom RGB color for COLOR_PANEL and mask composition background.
invert_composed_MASKoptBOOLEANfalseFlip which side of the resized mask shows IMAGE vs COLOR_PANEL in composed_IMAGE.

Outputs (10)

NameTypeDescription
IMAGEIMAGE
composed_IMAGEIMAGE
MASKMASK
inverted_MASKMASK
widthINT
heightINT
COLOR_PANELIMAGE
original_widthINT
original_heightINT
original_aspect_ratioSTRING