Easy Resize (deprecated, use 'Easy Resize (Koolook)')
Easy Resize was renamed, and here's what to use
- image
- mask
- IMAGE
- composed_IMAGE
- MASK
- inverted_MASK
- width
- height
- COLOR_PANEL
- original_width
- original_height
- original_aspect_ratio
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:
- Search the node menu for Easy Resize (Koolook) (
EasyResize_Koolook). - 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.
Inputs (15)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| base_on | COMBO | Width | Choose which target dimension is driven by base_size; the other is computed from aspect_ratio. |
| base_size | INT | 5121–16384 | Target width or height before snapping to divisible_by. |
| aspect_ratio | STRING | 16:9 | Target ratio as W:H, e.g. 16:9, 1:1, or 9:16. |
| divisible_by | INT | 321–128 | Snap final width and height to a multiple; use the model's latent/grid requirement. |
| upscale_method | COMBO | nearest-exact | ComfyUI resize filter used for the image and mask. |
| keep_proportion | COMBO | stretch | stretch fills the target exactly; letterbox/pillarbox preserve proportions and add bars. |
| crop_position | COMBO | center | Placement of the preserved image when bars are added. Top/bottom affect letterbox; left/right affect pillarbox. |
| pad_color_mode | COMBO | Black | Color for letterbox/pillarbox bars. Custom reads pad_color. |
| panel_color_mode | COMBO | Black | Color for COLOR_PANEL and masked composed_IMAGE background. Custom reads panel_color. |
| device | COMBO | cpu | Device used for resize/composite tensors. |
| maskopt | MASK | — | |
| pad_coloropt | STRING | 0, 0, 0 | Custom RGB bar color in 0..1 floats, e.g. 0, 0, 0 or 1, 0.5, 0. |
| panel_coloropt | STRING | 0, 0, 0 | Custom RGB color for COLOR_PANEL and mask composition background. |
| invert_composed_MASKopt | BOOLEAN | false | Flip which side of the resized mask shows IMAGE vs COLOR_PANEL in composed_IMAGE. |
Outputs (10)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |
| composed_IMAGE | IMAGE | — |
| MASK | MASK | — |
| inverted_MASK | MASK | — |
| width | INT | — |
| height | INT | — |
| COLOR_PANEL | IMAGE | — |
| original_width | INT | — |
| original_height | INT | — |
| original_aspect_ratio | STRING | — |