ComfyUI Node

ND Resolution

Sets an image size from an aspect ratio (a preset, or typed like 21:9) and one number, which is megapixels (1 = 1024 x 1024 pixels), the long side or the short side - the method is chosen in the settings (gear), together with the multiple both sides are rounded to. Output: one parameters wire with 'width' and 'height' - open it with Unpack Parameters.

By neural-dreamer·Created 9 days ago·Updated about 8 hours ago· 5
ND Resolution
    • params
    ◄state{"version": 1, "ratio": "1:1", "custom": "21:9", "method": "megapixels", "mp": 1.0, "long": 1024, "short": 1024, "multiple": 16, "show_custom": false}►
    CategoryNeural Dreamer/Images

    Inputs (1)

    NameTypeDefaultDescription
    stateSTRING{"version": 1, "ratio": "1:1", "custom": "21:9", "method": "megapixels", "mp": 1.0, "long": 1024, "short": 1024, "multiple": 16, "show_custom": false}—

    Outputs (1)

    NameTypeDescription
    paramsND_PARAMS—