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.
Mpi Load Image From Path
- image
- mask
- width
- height
◄string►
◄channelalpha►
◄block_if_emptytrue►
CategoryMpiNodes/ImgOps
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| string | STRING | Image file path. Named 'string' so it matches MpiString / MpiAnyChecker outputs. | |
| channel | COMBO | alpha | Which channel to output as the mask. 'alpha' inverts the alpha channel like LoadImage; red/green/blue take that color channel directly. |
| block_if_empty | BOOLEAN | true | ON: empty/missing path blocks downstream execution. OFF: outputs a blank 1x1 image so the graph continues. |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| mask | MASK | — |
| width | INT | — |
| height | INT | — |