Nodes/comfyui-mdsnodes/Load Image (With Path)
ComfyUI Node

Load Image (With Path)

Loads an image from the input folder and outputs the decoded tensor, alpha mask, base filename, absolute file path, and parent directory string.

By MarwanDSAI·Created 15 days ago·Updated 4 days ago· 1
Load Image (With Path)
    • IMAGE
    • MASK
    • filename
    • full_path
    • directory
    image
    CategoryMDSNodes/image

    Inputs (1)

    NameTypeDefaultDescription
    imageCOMBOSelect an existing image from the input directory or upload a new file.

    Outputs (5)

    NameTypeDescription
    IMAGEIMAGEThe decoded image tensor (RGB) formatted for VAE, ControlNet, or upscalers.
    MASKMASKThe alpha transparency mask channel (inverted for inpainting).
    filenameSTRINGThe clean file name including extension (e.g., photo.png).
    full_pathSTRINGThe full absolute file path on disk (e.g., E:\ComfyUI\ComfyUI\input\photo.png).
    directorySTRINGThe parent folder directory path where the image is stored.