Nodes/ComfyUI - NeoGriever/NGs Resolutions - Resolution Provider
ComfyUI Node

NGs Resolutions - Resolution Provider

Aspect-ratio presets with an 8-safe scale knob

By NeoGriever·Created 2 years ago·Updated 2 years ago· 2
NGs Resolutions - Resolution Provider
    • INT
    • INT
    preset☑️✨ 1:1 Square
    width1024
    height1024
    scale1.00
    fit8true

    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 when preset is Custom, otherwise the base dimensions before scale.
    • 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.

    CategoryNeoGriever/Resolutions

    Inputs (5)

    NameTypeDefaultDescription
    presetCOMBO☑️✨ 1:1 Square18 options: ◽ Custom, ☑️✨ 1:1 Square, 🖥️✨ 16:9 Widescreen, 📱✨ 9:16 Portrait, 🖥️ 9:7 Widescreen, 🖥️ 2:1 Widescreen, +12
    widthINT102416–16384
    heightINT102416–16384
    scaleFLOAT1.000.25–4
    fit8BOOLEANtrue

    Outputs (2)

    NameTypeDescription
    INTINT
    INTINT