Sub topic 5
Creating and Duplicating Layers
Assume you can open a document, find the Layers panel, and use the Move tool. You should also know the difference between pixels and vector shapes. This chapter focuses on making new layers and copying existing ones. Later chapters cover detailed ordering, groups, and masks.
Create the layer type you need
A layer is a separate editable component of a Photoshop document. Start by choosing the kind of layer that matches the task.
- Pixel layer: Stores painted pixels. Click the Create New Layer button, or choose Layer > New > Layer. Use it for brushwork, retouching, and painted effects.
- Type layer: Choose the Type tool, click the canvas, and type. Photoshop creates the layer automatically. Keep the text layer editable instead of painting over it.
- Shape layer: Choose the Shape tool and set its mode to Shape in the options bar. Draw the shape. Photoshop stores its path and fill as editable vector information.
- Fill layer: Choose Layer > New Fill Layer, then select Solid Color, Gradient, or Pattern. A fill layer covers the canvas without permanently painting pixels.
- Adjustment layer: Choose Layer > New Adjustment Layer, then select an adjustment such as Brightness/Contrast or Curves. It changes the appearance of layers below it without changing their original pixels.
You can also create a layer by selecting an existing layer and pressing Ctrl+J on Windows or Command+J on macOS. This duplicates the selected layer, including its contents, name, opacity, and effects.
Duplicate and rename safely
Select the source layer before duplicating it. The duplicate appears above the source in the layer stack and becomes active. Rename it immediately by double-clicking its name in the Layers panel. For example, rename Background copy to Warm color test.
To duplicate a layer and move the copy to another document, drag the layer onto the destination document tab, wait for that document to appear, and then drag into its canvas. You can also use Layer > Duplicate Layer and choose a destination document.
A duplicate is independent from its original for ordinary pixel edits. Changing the pixels on one copy does not change the other. However, linked smart objects can share source content, so editing their source may update every instance.
Script a basic setup
This Photoshop ExtendScript creates a pixel layer and an empty group, then places the layer inside the group.
// Run in Photoshop with a document open.
var doc = app.activeDocument;
var layer = doc.artLayers.add();
layer.name = "Highlights";
var group = doc.layerSets.add();
group.name = "Lighting";
layer.move(group, ElementPlacement.INSIDE);Exercise
You need editable text, a reusable color overlay, and a painted highlight. Which three layer types should you create?
Show answer
Create a type layer for the text, a fill layer for the color overlay, and a pixel layer for the painted highlight.