Scale Down
Shrink images to a target size, with optional crop
- images
- IMAGE
Everyone obsesses over upscaling, but a surprising amount of workflow plumbing is about going the other way - getting an image down to a specific size before you do something with it. This node does exactly that: resize an image (or batch) to a target width and height, with an optional center crop to hit the exact dimensions cleanly. It's one of the utility nodes in the art-venture pack, and it earns its spot.
When you actually want to shrink
Plenty of reasons. You've got a big reference image and you're about to run an expensive preprocessing or segmentation pass that doesn't need full resolution - scale it down first and the whole thing runs faster. You're normalizing a batch of mismatched images to one size so a downstream node stops complaining. You're prepping a thumbnail, or feeding an input that has a hard resolution cap. Or you're doing a downscale-then-upscale cleanup pass. In all of these you want a predictable output size, and that's the node's whole promise.
How it works
You give it an image and a target width and height, and it resizes to fit. The crop option decides what happens when the source aspect ratio doesn't match your target: disabled just resizes to the dimensions, while center crops from the middle so the result fills the target box without squashing. Center crop is what you want when preserving the subject's proportions matters more than keeping every edge pixel.
The inputs and outputs
- images (
IMAGE) - the image or batch to shrink. - width / height (
INT, default 512, range 1-8192) - your target dimensions. - crop (
disabledorcenter) - resize-only, or resize-and-center-crop to hit the exact box without distortion. - IMAGE (output) - the resized result.
Two knobs and a mode. Set the size, pick whether you care about aspect ratio, and go.
Installing it
Through ComfyUI Manager: search comfyui-art-venture, install, restart. Or clone it:
cd ComfyUI/custom_nodes
git clone https://github.com/sipherxyz/comfyui-art-venture
then restart ComfyUI. It's already in the shared image on comfy.icu.
Common issues
The pack-wide one first: a red "missing" node in a shared workflow means art-venture isn't installed. Manager → "Install Missing Custom Nodes."
Beyond that, the thing to watch is aspect ratio. With crop: disabled and a target that doesn't match the source ratio, you'll get a stretched or squashed image - that's not a bug, it's you asking for dimensions that don't fit. Use center to avoid the squash, or set width/height to a ratio that matches your input. Also worth remembering: scaling down throws away detail permanently. If you scale down for a fast preprocessing pass and then need the full-res version later, keep the original around and don't route everything through the shrunk copy. It's a resize, not an upscaler - this node makes images smaller and nothing about that is reversible.
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| images | IMAGE | — | |
| width | INT | 5121–8192 | — |
| height | INT | 5121–8192 | — |
| crop | COMBO | 2 options: disabled, center |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |