CR Image Size (Legacy)
Comfyroll's Old Dimension Node β Use CR Aspect Ratio Instead
- Width
- Height
- upscale_factor
- show_help
Let's get the important thing out of the way first: Comfyroll's own README explicitly lists this node as legacy, "replaced by CR Aspect Ratio." That's not a guess or a category tag - it's stated in plain English by the pack's authors. If you're building a workflow from scratch, reach for CR Aspect Ratio instead of this one. This article exists because you might still be maintaining an older workflow that has this node in it, and it's worth understanding what it actually does.
What it does. It doesn't touch an image at all, despite the name - it's a plain dimension-definition node. Set width (default 512, 64β2048), height (default 512, 64β2048), and upscale_factor (default 1, 1β2000) as widgets, and it outputs them as typed sockets: Width and Height as INT, upscale_factor as FLOAT. That's the whole node. It exists so you can define a resolution once, as a set of plain numbers, and feed those numbers into whatever downstream nodes need them - an EmptyLatentImage, a resize node, an upscale calculation - without retyping the same values into three different widgets.
Why it got replaced. CR Aspect Ratio (and its siblings, CR SDXL Aspect Ratio and CR SD1.5 Aspect Ratio) do the same conceptual job but let you pick from named aspect-ratio presets instead of typing raw width and height by hand - a more forgiving interface for the common case of "I want a 16:9 image" rather than "I want exactly 912Γ512." This node predates that, from back when you set every number manually.
Inputs and outputs that matter. width, height, upscale_factor in (all required, all plain widgets); Width, Height, upscale_factor out, plus the standard show_help string. If your workflow is already using this and working fine, there's no functional reason to rip it out - legacy doesn't mean broken, it means "the authors built something better and moved on."
Install. ComfyUI Manager: search "Comfyroll Studio", install, restart. Manually: cd ComfyUI/custom_nodes && git clone https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes.git, restart. No models needed.
Troubleshooting. One thing worth knowing if you're feeding this node's outputs into a sampler or VAE downstream: most architectures need width and height divisible by a specific number - 8 for SD 1.5 and SDXL, 64 for Flux-family models - and this node won't enforce that for you, it just outputs whatever you typed. If you land on an awkward number, Comfyroll's own CR Integer Multiple node can snap it to a valid multiple before it reaches your latent. And the pack-wide caveat applies as always: Comfyroll registers its entire node set from one shared file, and real reports on r/comfyui show a single broken import (Failed to load Graphics nodes / Failed to load Utility nodes) wiping every Comfyroll node from the menu at once. If nodes are missing after install, a clean git clone fixes it more reliably than chasing pip.
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| width | INT | 51264β2048 | β |
| height | INT | 51264β2048 | β |
| upscale_factor | FLOAT | 1.001β2000 | β |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| Width | INT | β |
| Height | INT | β |
| upscale_factor | FLOAT | β |
| show_help | STRING | β |