Chroma keying

Remove a green screen background
with a single line of code

View Demo Download Trial

Chroma keying made simple

How to shoot a photo with a transparent background? This question was answered back in 1930's by film production engineers - just use a green curtain as a background. However how to remove this green curtain from a picture? With Graphics Mill it is just a matter of a single method call!

Simply load a bitmap, call the RemoveGreenScreen method and the image will have a transparent alpha channel, as if you have loaded a PNG file with transparency. You can easily merge it with any other bitmap or save it to a separate file.

using (var bitmap = new Bitmap("Input.png"))       
{       
    bitmap.Transforms.RemoveGreenScreen();       
      
    bitmap.Save("Output.png");       
}
View sample