Nodes/ComfyUI-WepeNerd/Resolution Suggest (WepeNerd)
ComfyUI Node

Resolution Suggest (WepeNerd)

A ComfyUI node in WepeNerd/Resolution with 6 inputs and 7 outputs.

By WepeNerd·Created 4 months ago·Updated 3 months ago· 0
Resolution Suggest (WepeNerd)
    • width
    • height
    • original_width
    • original_height
    • scale_factor
    • aspect_ratio
    • info
    width1920
    height1080
    target1024
    resize_modeLongest Side
    divisor32
    snap_moderound
    CategoryWepeNerd/Resolution

    Inputs (6)

    NameTypeDefaultDescription
    widthINT19201–32768
    heightINT10801–32768
    targetINT10241–32768Target pixel size (or percentage when mode is Scale Factor)
    resize_modeCOMBOLongest Side5 options: Longest Side, Shortest Side, Width, Height, Scale Factor
    divisorCOMBO324 options: 32, 16, 8, 64
    snap_modeCOMBOroundHow to snap to the divisor grid: round (nearest), floor (down), ceil (up)

    Outputs (7)

    NameTypeDescription
    widthINT
    heightINT
    original_widthINT
    original_heightINT
    scale_factorFLOAT
    aspect_ratioSTRING
    infoSTRING