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.

By MadPonyInteractive·Created 10 months ago·Updated 3 days ago· 2
Mpi Box
    • mpi_box
    width512
    height512
    x0
    y0
    CategoryMpiNodes/ImgOps

    Inputs (4)

    NameTypeDefaultDescription
    widthINT5120–4294967295
    heightINT5120–4294967295
    xINT0-4294967295–4294967295Left edge of the box, in pixels. May be negative to start outside the image.
    yINT0-4294967295–4294967295Top edge of the box, in pixels. May be negative to start outside the image.

    Outputs (1)

    NameTypeDescription
    mpi_boxMPI_BOX