Nodes/ComfyUi-MpiNodes/Mpi Load Image From Path
ComfyUI Node

Mpi Load Image From Path

Load an image from a file path and preview it in-graph. Also outputs width and height. If the path is empty/missing, downstream execution is blocked (no need for a separate blocker node) unless block_if_empty is off, in which case it outputs a blank 1x1 image so the graph continues.

By MadPonyInteractive·Created 10 months ago·Updated 3 days ago· 2
Mpi Load Image From Path
    • image
    • mask
    • width
    • height
    string
    channelalpha
    block_if_emptytrue
    CategoryMpiNodes/ImgOps

    Inputs (3)

    NameTypeDefaultDescription
    stringSTRINGImage file path. Named 'string' so it matches MpiString / MpiAnyChecker outputs.
    channelCOMBOalphaWhich channel to output as the mask. 'alpha' inverts the alpha channel like LoadImage; red/green/blue take that color channel directly.
    block_if_emptyBOOLEANtrueON: empty/missing path blocks downstream execution. OFF: outputs a blank 1x1 image so the graph continues.

    Outputs (4)

    NameTypeDescription
    imageIMAGE
    maskMASK
    widthINT
    heightINT