Nodes/Basic data handling/load MASK from greyscale/red
ComfyUI Node

load MASK from greyscale/red

Loads a mask from a greyscale image or the red channel of an RGB image. This node loads an image from the specified path and creates a mask from it. If the image is greyscale, the intensity is used directly. If the image is RGB, the red channel is used.

By StableLlama·Created about a year ago·Updated 25 days ago· 45
load MASK from greyscale/red
    • mask
    • exists
    path
    invertfalse
    CategoryBasic/Path

    Inputs (2)

    NameTypeDefaultDescription
    pathSTRING
    invertoptBOOLEANfalse

    Outputs (2)

    NameTypeDescription
    maskMASK
    existsBOOLEAN