Sub topic 4
The Background Layer and Converting It
This chapter assumes you can open a document, find the Layers panel, and tell a pixel layer from a vector shape. You should also know the basic selection and Move tools. By the end you will know why the Background layer behaves differently from every other layer, how to convert it, and which errors come from forgetting it is special.
What makes the Background layer different
A new document created with a white or colored background contents option, and most photos opened from a file, start with one layer named Background. It looks like a normal pixel layer, but Photoshop treats it as a fixed backdrop. The name appears in italics and a lock icon sits at the right of the row.
The restrictions follow from one idea: the Background layer has no transparency. It is always fully opaque and always at the bottom of the stack. Photoshop enforces these rules:
- You cannot move it up in the stack, and you cannot place another layer beneath it.
- You cannot change its opacity, Fill, or blend mode.
- You cannot move its pixels with the Move tool. Dragging does nothing useful.
- Erasing or deleting pixels paints the current background color instead of making holes.
- You cannot add a layer mask to it directly, and you cannot apply layer styles such as drop shadows.
- You cannot rename it by double-clicking without triggering a conversion.
A document has at most one Background layer. Some documents have none, for example one created with a transparent background.
Why Photoshop does this
Photoshop inherited the idea from flat image formats such as JPEG, which have no transparency. A photo from a camera is a full rectangle of colored pixels, so Photoshop opens it as a Background layer. This also explains why erasing on the Background reveals your background color. There is nothing underneath it to show through.
Converting the Background layer to a regular layer
Converting turns the Background into an ordinary pixel layer called Layer 0 (or any name you choose). After that it can have transparency, move up and down, and take masks, styles, blend modes, and opacity.
There are three common ways to convert it:
- Double-click the Background layer in the Layers panel. In the New Layer dialog, type a name, then click OK.
- Click the lock icon on the Background row. This converts it immediately to Layer 0 with no dialog.
- Choose Layer > New > Layer from Background. This opens the same dialog as the double-click.
The pixels do not change during conversion. Only the layer's rules change.
Going the other way
You can also turn a regular layer into a Background layer with Layer > New > Background from Layer. Two things happen. Photoshop moves the layer to the bottom of the stack, and any transparent pixels are filled with the current background color. This step discards transparency, so it is worth checking the result before you save.
The command is unavailable if the document already has a Background layer, because only one is allowed. Flattening (covered in a later chapter) also produces a Background layer, and it too fills transparency.
A worked example
Suppose you open a photo and want to place a logo behind it as a decorative frame. Follow these steps:
- Open the photo. The Layers panel shows one layer, Background, with a lock.
- Double-click the layer, name it
Photo, and click OK. It is now a normal pixel layer. - Choose Image > Canvas Size, enlarge the canvas, and set the extension color to Transparent if offered. The new area is transparent, since
Photois no longer a Background. - Create a new layer and fill it with a solid color. Drag it below
Photo.
Step 4 only works because of step 2. With a Background layer in place, you would not be able to drag anything beneath it.
The same conversion in a script
The document's backgroundLayer property is the Background layer if one exists. Setting isBackgroundLayer to false converts it, and the layer can then be renamed.
// ExtendScript (.jsx): convert the Background layer to a normal layer named "Photo"
var doc = app.activeDocument;
try {
var bg = doc.backgroundLayer;
bg.isBackgroundLayer = false;
bg.name = "Photo";
} catch (e) {
alert("This document has no Background layer.");
}The try block matters. Reading backgroundLayer on a document without one throws an error, so the script reports it instead of stopping.
Common errors and what they mean
| What you see | Likely cause | Fix |
|---|---|---|
| Opacity and blend mode are grayed out | The selected layer is the Background | Convert it to a regular layer |
| Dragging a layer below the Background does nothing | Nothing can sit under the Background | Convert it, then drag |
| Erasing leaves a solid color rather than a checkerboard | The layer is a Background, so there is no transparency | Convert it first, then erase |
| "Layer from Background" is missing or does not appear to apply | The document has no Background layer | Select a regular layer instead |
| Transparent areas turn white after flattening or "Background from Layer" | These commands fill with the background color | Keep a layered copy before flattening |
Edge cases
- Locked regular layers. A layer with the "Lock all" option on shows a lock icon too, but it is not a Background. Clicking that lock toggles the lock rather than converting anything. Check whether the name is in italics to tell them apart.
- Smart objects and other types. Converting a Background does not make it a smart object. If you want non-destructive filters, convert the new layer with Layer > Smart Objects > Convert to Smart Object after it is a regular layer.
- File formats. JPEG and some other flat formats save only a single merged image. When you reopen the file you get a Background layer again, and any transparency you created is gone. Save a PSD or TIFF with layers to keep your work editable.
- Selecting multiple layers. If the Background is part of a multiple selection, commands such as grouping may skip it or behave differently. Convert it first when you plan to group everything.
- Duplicating the Background. A common safe habit is to duplicate it with Ctrl+J (Windows) or Cmd+J (Mac) before editing. The copy is a regular layer, and the original stays untouched underneath.
Deciding whether to convert
Convert the Background when you need transparency, a different stacking position, masks, styles, or blend modes. Leave it alone when it is a simple backdrop that never needs to change, since its restrictions then protect you from accidentally moving it.
For retouching, duplicating is often better than converting. It keeps the original pixels as a fallback and gives you a regular layer to work on.
Exercise
You open a photo and try to set a layer to Multiply, but the blend mode menu is grayed out. The selected layer is named Background in italics. Give two ways to fix this, and say what changes about the pixels.
Show answer
Double-click the layer and click OK in the New Layer dialog, or click its lock icon. Either converts it to Layer 0, a regular layer, and the blend mode menu becomes available. The pixels do not change. Only the layer's rules change. Duplicating it with Ctrl+J or Cmd+J and applying Multiply to the copy also works.
Exercise
You choose Layer > New > Background from Layer on a layer that has a transparent area around a cutout. What happens to the transparent area, and why might this be a problem?
Show answer
Photoshop moves the layer to the bottom and fills the transparent area with the current background color, because a Background layer cannot hold transparency. The cutout loses its transparent edges, so you cannot place it over other content without a visible box. Keep a layered copy first.