Divide and Conquer Algorithm (No Upscale)
The Divide and Conquer calculator — tells you the target size, then stays out of your way
- image
- image_width
- image_height
- dac_data
The regular Divide and Conquer Algorithm node upscales the image and works out the tiling geometry. This one only does the math. It looks at your image, your tile size, overlap, and minimum scale factor, then tells you the dimensions an upscale would need - and hands you the dac_data plan - without resizing a single pixel itself.
That's a genuinely useful split if you don't want the node's built-in upscale (plain lanczos, or whatever model you plug in). Say you're using a heavyweight generative upscaler like SeedVR2 or a specific ESRGAN you like better, and you only want the Divide and Conquer geometry so your tiles tile cleanly. You run this node to get the target size, then do the actual upscaling yourself with the tools you already trust. It's the "tile without upscaling" capability the pack's 1.2.1 changelog added, exposed as its own node.
Inputs and outputs
The inputs are the geometry, minus the scaling controls:
image- the image you're planning around. Its dimensions drive the calculation.tile_width/tile_height- default 1024. The tile size you'll process later.min_overlap- default1/32 Tile. How much tiles share; raise it if you get seams after combining.min_scale_factor- default 3, range 1–8. The minimum scale the plan guarantees.tile_order-spiral(default) orlinear.
Three outputs, all different flavors of "the answer":
image_widthandimage_height- the target dimensions, as plain INTs. Wire these into anEmptyLatentImage, anImageScalenode, or anything else that wants a width and height.dac_data- the full tiling plan, same payload as the regular algorithm node produces. Pass it to Divide Image and Select Tile and Combine Tiles and they'll split and stitch according to this plan.
Install
Same pack as everything else:
cd ComfyUI/custom_nodes
git clone https://github.com/Steudio/ComfyUI_Steudio
Restart ComfyUI, or install via ComfyUI Manager by searching ComfyUI Steudio. No dependencies, no model downloads. Note this sits in the Advanced subcategory of the suite's menus - most people never need it because the standard algorithm node covers both jobs at once. You'll know you want this one when the built-in upscale path feels like it's in the way.
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| tile_width | INT | 1024 | — |
| tile_height | INT | 1024 | — |
| min_overlap | COMBO | 1/32 Tile | 7 options: None, 1/64 Tile, 1/32 Tile, 1/16 Tile, 1/8 Tile, 1/4 Tile, +1 |
| min_scale_factor | FLOAT | 3.001–8 | — |
| tile_order | COMBO | spiral | 2 options: linear, spiral |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| image_width | INT | — |
| image_height | INT | — |
| dac_data | DAC_DATA | — |