Nodes/AUN ComfyUI Nodes/Load & Resize Image
ComfyUI Node

Load & Resize Image

Load images with optional automatic resizing. Supports FramePack nearest-bucket sizing, maintains aspect ratio, and provides filename information for workflow organization.

By loz2754·Created 7 months ago·Updated about a month ago· 4
Load & Resize Image
    • IMAGE
    • MASK
    • filename
    • cleaned filename
    • width
    • height
    image
    resizefalse
    use_framepack_bucketfalse
    base_resolution640
    width512
    height512
    methodkeep proportion
    crop_positioncenter
    interpolationlanczos
    max_num_words0
    CategoryAUN Nodes/Image

    Inputs (10)

    NameTypeDefaultDescription
    imageCOMBOSelect image file from input directory or upload new image.
    resizeBOOLEANfalseEnable automatic resizing to specified dimensions. Maintains aspect ratio.
    use_framepack_bucketBOOLEANfalseIf enabled (with resize), choose nearest FramePack bucket based on aspect ratio and base resolution.
    base_resolutionINT640320–2048Base resolution for bucket scaling. 640 matches original; higher scales proportionally.
    widthINT5120–2048Target width for resizing (8-pixel increments). Only used if resize is enabled.
    heightINT5120–2048Target height for resizing (8-pixel increments). Only used if resize is enabled.
    methodCOMBOkeep proportionResize strategy: stretch to exact size, keep aspect ratio, fill then crop, or pad to fit.
    crop_positionCOMBOcenterWhen using fill / crop, choose which edge or center anchors the crop window.
    interpolationCOMBOlanczosInterpolation filter used during resizing.
    max_num_wordsINT00–32Maximum number of words to keep for both filename outputs. Set to 0 for no limit.

    Outputs (6)

    NameTypeDescription
    IMAGEIMAGE
    MASKMASK
    filenameSTRING
    cleaned filenameSTRING
    widthINT
    heightINT