Nodes/Sage Utils/Guess Resolution By Ratio
ComfyUI Node

Guess Resolution By Ratio

Based on the input width and height, guess a resolution that matches one of the common aspect ratios. The output is rounded to the nearest multiple of 64.

By arcum42·Created 2 years ago·Updated 24 days ago· 32
Guess Resolution By Ratio
    • width
    • height
    width1024
    height1024
    CategorySage Utils/image/res

    Inputs (2)

    NameTypeDefaultDescription
    widthINT102464–8192The input width.
    heightINT102464–8192The input height.

    Outputs (2)

    NameTypeDescription
    widthINTThe guessed width.
    heightINTThe guessed height.