ComfyUI Node
Mpi Box
Build an MPI_BOX rectangle from width/height/x/y. x/y are the top-left corner. Consumers clamp the box to the image, so out-of-bounds is safe.
Mpi Box
- mpi_box
◄width512►
◄height512►
◄x0►
◄y0►
CategoryMpiNodes/ImgOps
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| width | INT | 5120–4294967295 | — |
| height | INT | 5120–4294967295 | — |
| x | INT | 0-4294967295–4294967295 | Left edge of the box, in pixels. May be negative to start outside the image. |
| y | INT | 0-4294967295–4294967295 | Top edge of the box, in pixels. May be negative to start outside the image. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| mpi_box | MPI_BOX | — |