With a degree in biochemistry, Leah works for a small biotechnology company and enjoys writing about science.
Chroma Key: The Way to Make a Virtual Background
Chroma key is the method by which photographers (and videographers) use a monochromatic backdrop, then replace the blue or green "screen" with a virtual background. This is the method employed during every evening weather broadcast: the newscaster is standing in front of a blank screen, but the viewers at home see a weather map.
Chroma key can also be used with photography. Subjects can be photographed in front of a monochromatic screen, and a virtual background can be placed behind the subject once the screen is removed. In the example below, a butterfly is photographed on a blue tarp, which is replaced by a Goldenrod flower.
When choosing an object for use in chroma key, it is important to verify the background "screen" color does not exist on the object. For example, choosing a blue background for a blue butterfly would be a poor choice: portions of the butterfly would be deleted along with the background.
In addition, it would be a good idea to become familiar with basic GIMP functions before attempting this tutorial: a basic knowledge of the Layers dialog and toolbox items is necessary prior to attempting this photo editing technique.
Step 1: Open Photo, Add Alpha Channel
- Go to FILE and OPEN the image file which contains a monochromatic background.
- Go to the LAYER tab on top of the GIMP screen and select ADD ALPHA CHANNEL.
- Go to the WINDOWS tab on the top of the GIMP screen and select DOCKABLE DIALOGS. Choose LAYERS to open the Layers window.
Step 2: Select Color and Delete Color
- Go to the COLOR SELECT tool in the toolbox window. This is the icon with a hand pointing to a color panel.
- Select an area of the monochromatic background (in the case of the butterfly, this would be the blue tarp area). The general area will become shaded with blinking lines.
- Go to EDIT and select CUT. A large area of the background will disappear, leaving the gray checkered pattern in its wake.
- Continue to select the background and delete the color until the background is entirely gone.
Step 3: Create a New Layer and Paste New Background
- In the Layers window, select the small white rectangle in the lower left corner to CREATE a NEW LAYER. Select transparency as the layer type.
- Choose a photographic background: Go to FILE and OPEN the new image file.
- Go to EDIT and COPY the new background.
- Return to the original photograph and PASTE the background into the new layer (in the case of the example, this was an image of a Goldenrod flower).
- The pasted image will be "floating." While the pasted background is "floating," adjust the size of the background using the SCALE tool in the toolbox window.
- When the background is of suitable size and scale, click on the anchor icon in the Layers window to ANCHOR LAYER.
- The new background will completely cover up the original object. To place the object in front of the background, simply click on the GREEN ARROW to move the background layer down one level.
Step 4: Resize Objects and Save
- If the original object is out of scale with the background, simply select the layer and use the SCALE tool to adjust the size. In the case of the example, the butterfly was the object, and it had to be rescaled to fit on the Goldenrod flower.
- Use the MOVE tool to adjust the location of the object on the background.
- When the object and the background are appropriately sized and adjusted, go to FILE and select SAVE AS to save the file. GIMP will send a prompt to export the file: simply click OK and select 100% for the image quality. Save the file with an appropriate identifying name.
This content is accurate and true to the best of the author’s knowledge and is not meant to substitute for formal and individualized advice from a qualified professional.
© 2011 Leah Lefler
Leah Lefler (author) from Western New York on August 29, 2013:
I am not sure if the commands are the same in Photoshop, but the concept is the same. Simply delete the blue or green background and layer the object on a new background. I hope you are able to do this in PS Elements, 49lart!
Ivor Tetteh-Lartey from Edinburgh, Scotland on August 29, 2013:
Excellent tutorial. Does it work on Elements 11?