NGs Resolutions - Resolution Provider
Aspect-ratio presets with an 8-safe scale knob
- INT
- INT
The node's own in-app description is a joke - "Did i really need a description for this?" - and honestly, fair. This is the aspect-ratio picker that basically every serious ComfyUI graph ends up needing near the top of the workflow: instead of doing width/height math by hand every time you want "16:9" or "9:16," you pick a preset and get two INT outputs ready to wire straight into an Empty Latent Image or similar.
How it works
preset gives you 18 choices: Custom plus a spread of common ratios - square, several widescreen variants, portrait options - many labeled with a little emoji tag matching the README's own style elsewhere in the pack. Pick a named preset and it drives the output dimensions from that ratio; leave it on Custom and your own width/height fields are what goes out untouched. scale (0.25 to 4, in 0.25 steps) multiplies whatever dimensions you land on - a quick way to double or halve a target resolution without recalculating both numbers yourself. fit8, on by default, rounds the final width and height to the nearest multiple of 8, which matters because most diffusion model VAEs produce visible artifacts or outright fail on dimensions that aren't cleanly divisible by 8 (some architectures want 64).
The inputs and outputs that matter
preset- default "1:1 Square," the aspect ratio to use.width,height- the values used directly whenpresetisCustom, otherwise the base dimensions beforescale.scale- default 1, multiplies the result.fit8- default true, snaps to a multiple of 8.
Outputs are two INT values, width and height in that order, meant to be wired straight into a latent/empty-image node.
How to install it
ComfyUI Manager: search "NeoGriever," install, restart. Manual:
cd ComfyUI/custom_nodes
git clone https://github.com/NeoGriever/ComfyUI-NeoGriever
then restart. No dependencies, no downloads.
Common issues & troubleshooting
Odd dimensions causing decode errors or seams. Turning fit8 off and landing on a dimension that isn't a multiple of 8 is the classic way to get a VAE decode failure or a visible seam artifact. Leave it on unless you specifically need an exact non-multiple-of-8 size and know your model tolerates it.
Scale compounding in a way you didn't expect. scale multiplies whatever the preset resolves to, not a fixed target - a "16:9" at scale=2 is double the preset's base resolution, not a number you typed in directly. If you need an exact final size, switch preset to Custom and type the numbers in yourself rather than fighting the scale math.
Preset seems to ignore your width/height edits. That's expected once preset isn't set to Custom - the named presets drive the dimensions themselves. Switch to Custom if you want manual control over both fields.
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| preset | COMBO | ☑️✨ 1:1 Square | 18 options: ◽ Custom, ☑️✨ 1:1 Square, 🖥️✨ 16:9 Widescreen, 📱✨ 9:16 Portrait, 🖥️ 9:7 Widescreen, 🖥️ 2:1 Widescreen, +12 |
| width | INT | 102416–16384 | — |
| height | INT | 102416–16384 | — |
| scale | FLOAT | 1.000.25–4 | — |
| fit8 | BOOLEAN | true | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| INT | INT | — |
| INT | INT | — |