Skip to content

Despill

Despill
Keyer

Removes green, blue, red, or custom key-color spill left on a subject after keying, while preserving the alpha channel.

Marble chess pieces keyed off a green screen over gray, the dark pieces edged with green rims, beside the same key after Despill, the rims gone

Green light bounced onto hair, skin, and reflective edges survives even a perfect matte. Despill suppresses that cast without touching the alpha, so it slots directly after Chroma Key: the keyer cuts the background, Despill cleans what bounced onto the subject.

Balance steers which of the other two channels the spill is limited toward. The center default uses their average, the standard despill; the extremes favor one channel to warm or cool the cleaned areas.

Pins

ImageImage
InputRequired
MaskMask
InputOptional
ImageImage
Output

Despill

Spill ColorChoice
Default: Green

Color cast to suppress. Auto picks the most dominant red, green, or blue excess in the image

  • GreenSuppress green spill, the standard green-screen case.
  • BlueSuppress blue spill from a blue screen.
  • RedSuppress red spill.
  • CustomSuppress a specific key color you pick with the Custom Color control.
  • AutoDetects the most dominant red, green, or blue excess in the image and suppresses that.
Custom ColorColor (RGB)
Default: rgb(0, 255, 0)
Spill Color = Custom

Custom spill color to suppress (only used when Spill Color is Custom)

AmountNumber
Default: 0.50 Range: 0.00–1.00

Strength of spill removal

BalanceNumber
Default: 0.50 Range: 0.00–1.00

Which of the two non-spill channels the spill is limited toward. 0.5 (center) uses their average - the standard despill that cleans spill on the subject, not just the pure background. For green spill, 0 favors Red and 1 favors Blue

ModeChoice
Default: Neutralize
  • NeutralizeReduces the spill channel toward the other channels. The standard despill.
  • DesaturateBlends spill-dominant pixels toward luminance, a gentler option when Neutralize disturbs skin tones.

Mask

Mask FromChoice
Default: Luminance
Color image connected to the mask input

How the connected color image is read as a mask

  • LuminanceRead the image's brightness as the mask. The default.
  • AlphaRead the image's transparency as the mask.
  • RedUse the red channel as the mask.
  • GreenUse the green channel as the mask.
  • BlueUse the blue channel as the mask.
Mask FitChoice
Default: None (native size)
Mask connected

How the mask is sized when it doesn't match the image

  • None (native size)Center the mask at its native size, with no resizing. Unmasked regions are unaffected.
  • StretchStretch the mask to exactly match the image dimensions. May distort the mask shape.
  • Fit (letterbox)Scale the mask to fit inside the image, preserving aspect ratio. Letterboxes where needed.
  • Fill (crop)Scale the mask to fill the image, preserving aspect ratio. Crops edges if aspect ratios differ.
  • Set Spill Color to Auto if you are not sure which cast dominates; it picks the strongest red, green, or blue excess.
  • For green spill, nudge Balance toward 0 (Red) to re-warm skin tones the despill left looking gray.
  • If edges still look tinted, raise Amount before reaching for Desaturate mode; Neutralize keeps more color detail.
  • Wire a mask into Mask to despill only part of the subject, such as the hair, and leave a green prop or costume alone; Mask From and Mask Fit read and size it as on the other effect nodes.