Sub topic 1
Layers in Photoshop: Creating, Ordering, and Grouping
Prerequisites
This chapter assumes you can open a document, find panels, and use the Move tool and basic selections. You should understand the difference between pixel and vector content at a general level.
How layers build an image
A layer is a transparent sheet that holds part of an image. Photoshop composites the stack from bottom to top. Opaque pixels on a higher layer cover the layers below. Transparent pixels let those lower layers show through.
Tour of the Layers panel
Choose Window > Layers to open the panel. Each row shows a thumbnail, the layer name, an eye icon for visibility, and a lock icon. The top row is the frontmost layer. The buttons at the bottom add layers, groups, adjustment layers, and masks, and delete layers.
Layer types you will meet
- Pixel layers hold raster image data, such as painted or photographed pixels.
- Type layers hold editable text.
- Shape layers hold vector shapes that stay sharp at any size.
- Smart objects hold embedded content that you can edit non-destructively.
- Adjustment layers change the color or tone of the layers below them without changing their pixels.
- Fill layers add a solid color, gradient, or pattern.
The Background layer and converting it
A new document starts with a Background layer at the bottom of the stack. It is locked. You cannot move it, make it transparent, or change its opacity. To convert it to a normal layer, double-click its name in the Layers panel, then click OK. The layer is renamed Layer 0 and becomes editable.
Creating and duplicating layers
Click the New Layer button at the bottom of the panel, or press Shift+Ctrl+N (Windows) or Shift+Cmd+N (Mac). Press Ctrl+J (Windows) or Cmd+J (Mac) to duplicate the active layer. The script below creates a layer and a copy of it:
// ExtendScript (.jsx): create a named layer, then duplicate it
var doc = app.activeDocument;
var layer = doc.artLayers.add();
layer.name = "Sketch";
var copy = layer.duplicate();
copy.name = "Sketch copy";Exercise
In what order does Photoshop composite the layers in a stack?
Show answer
From the bottom of the stack to the top. Opaque pixels on higher layers cover the layers beneath them. Q: Why can you not move the Background layer by default? A: The Background layer is locked. Double-click its name to convert it into a normal layer that you can move.