videoskillet

Keying by alpha

A yawning red fox cut out of its photograph and keyed over a misty forest with sun shining through the trees.

Open this look in the app ↗

  • Source B: a picture with a transparent background
  • Chroma key: key to 1, key source to B alpha

We made the keyer cut out transparent images, so you can put a fox in a misty forest without a green screen! Drop a PNG, WebP or WebM with a transparent background on B, flip the new Key source switch to B alpha, and your cutout appears over A. Old character generators (the machines that put titles and captions on TV) sent the shape of their lettering down a separate wire beside the picture. We send B's alpha the same way, so the edge stays as crisp as the artist drew it.

A four-leaf clover over an autumn vineyard on a black field. The vineyard shows faintly through the green of the leaves.
Key source on chroma
The same clover keyed cleanly over the vineyard, its leaves solid green.
Key source on B alpha

The chroma keyer cuts out green, so on the left the vineyard shows through the clover's leaves. On the right we key by alpha, and the clover keeps all of its green.

Key edges#

We made all the key edge effects work on alpha too. Give the clover a drop shadow.

The clover over a winter beech forest with a black drop shadow below and to the right of it.

Genlock off#

Turn genlock off and B's picture stops keeping time with A's, so the cutout slips and rolls around the screen with B's picture. It looks gloriously broken. Watch the fox unlocked.

The fox washed pale and summed over the misty forest, with a coloured stripe and a dark bar where its sync rolls through the picture.

A moving cutout#

Moving cutouts work too! We read a WebM's alpha channel frame by frame. Set Fill to loop bus (the mixer's feedback path) and this spacecraft leaves a trail of ghosts, as in Chroma keying with ghosts.

Fill to loop bus, store hue at 30°
Fill to loop bus, program A in fill at 0.1

Footage: the fox is Yawning red fox (transparent background) by Peter G Trimming, under CC BY 2.0. The clover is Gluecksklee (transparent background)2 by Kolossos, under CC BY-SA 3.0. The forest in the mist is Baumsilhouetten am Uetliberg mit Novembernebel und Sonnenstrahlen by Kuhnmi, under CC BY-SA 4.0. The vineyard is Vignes près du Pic de Vissou - October 2020 by Christian Ferrer, under CC BY 4.0. The beech forest is Beech forest Mátra in winter by Susulyka, under CC BY-SA 4.0. The spacecraft is from Swift Spacecraft Animations: 2025 by NASA's Scientific Visualization Studio, in the public domain, cut to four seconds at twice its speed and encoded as a WebM with alpha.