Skip to main content
The PorterDuffImageComposite node is designed to perform image compositing using the Porter-Duff compositing operators. It allows for the combination of source and destination images according to various blending modes, enabling the creation of complex visual effects by manipulating image transparency and overlaying images in creative ways.

Inputs

ParameterDescriptionData Type
sourceThe source image tensor to be composited over the destination image. It plays a crucial role in determining the final visual outcome based on the selected compositing mode.IMAGE
source_alphaThe alpha channel of the source image, which specifies the transparency of each pixel in the source image. It affects how the source image blends with the destination image.MASK
destinationThe destination image tensor that serves as the backdrop over which the source image is composited. It contributes to the final composited image based on the blending mode.IMAGE
destination_alphaThe alpha channel of the destination image, defining the transparency of the destination image’s pixels. It influences the blending of the source and destination images.MASK
modeThe Porter-Duff compositing mode to apply, which determines how the source and destination images are blended together. Each mode creates different visual effects.COMBO[STRING]

Outputs

ParameterDescriptionData Type
imageThe composited image resulting from the application of the specified Porter-Duff mode.IMAGE
maskThe alpha channel of the composited image, indicating the transparency of each pixel.MASK
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub