Nodes/ComfyUI-TinyBee/Force Aspect On Bounds
ComfyUI Node

Force Aspect On Bounds

A ComfyUI node in 🐝TinyBee/Util with 13 inputs and 4 outputs.

By TinyBeeman·Created about a year ago·Updated 25 days ago· 1
Force Aspect On Bounds
    • new_x
    • new_y
    • new_width
    • new_height
    x0
    y0
    width512
    height512
    image_width512
    image_height512
    aspect_ratio1.00
    fit_modemaintain_height
    include_x0
    include_y0
    include_width0
    include_height0
    include_rel_xyfalse
    Category🐝TinyBee/Util

    Inputs (13)

    NameTypeDefaultDescription
    xINT0-10000–10000
    yINT0-10000–10000
    widthINT5121–10000
    heightINT5121–10000
    image_widthINT5121–10000
    image_heightINT5121–10000
    aspect_ratioFLOAT1.000.01–100
    fit_modeCOMBOmaintain_height2 options: maintain_height, maintain_width
    include_xoptINT00–10000
    include_yoptINT00–10000
    include_widthoptINT00–10000
    include_heightoptINT00–10000
    include_rel_xyoptBOOLEANfalse

    Outputs (4)

    NameTypeDescription
    new_xINT
    new_yINT
    new_widthINT
    new_heightINT