Sub topic 1
How layers build an image
Prerequisites
You should know how to open a Photoshop document, find the Layers panel, use a basic selection and the Move tool, and distinguish pixels from vector shapes. This chapter focuses on the compositing model: how Photoshop combines separate layers into the visible image.
A layer is a separate stack item that contains image content or instructions for producing content. Photoshop composites, or combines, these items from the bottom upward. The bottom layer provides the starting pixels. Each layer above it contributes pixels where it is visible and not fully transparent.
Think of the stack as transparent sheets. A layer can contain opaque pixels, partly transparent pixels, or no pixels in some areas. Where an upper layer is opaque, it hides the corresponding area below. Where it is transparent, the lower layer remains visible.
The Layers panel shows the stack in reverse visual order. The topmost row is usually drawn in front. The lowest visible layer is drawn behind the others. This means that changing a layer’s position can change the image even when none of its pixels change.
What controls the composite
Photoshop calculates each layer’s contribution using several properties:
- Visibility determines whether Photoshop includes the layer at all. Clicking the eye icon hides or shows it.
- Opacity controls the overall strength of the layer. An opacity of 100% uses the layer at full strength. A lower value allows layers below to show through.
- Blend mode changes how a layer’s colors interact with the colors beneath it. Normal replaces covered pixels according to transparency. Multiply generally darkens by multiplying color values.
- Layer masks provide another form of transparency. A mask can hide parts of a layer without deleting its original pixels.
The result is recalculated whenever you edit content, change a property, or reorder the stack. This is why layers support nondestructive editing: you can adjust one component without permanently painting over unrelated components.
> callout tip > A layer’s position affects which pixels it covers. Its blend mode affects how its pixels interact with what they cover. Check both when the result looks unexpected. > ```
A simple stacking example
Imagine three layers:
- A blue background at the bottom.
- A subject photograph in the middle, with transparent areas around the subject.
- White highlights at the top, with 60% opacity.
The blue background appears around the subject because the photograph is transparent there. The highlights appear over both layers, but their reduced opacity lets some underlying color influence their appearance. Moving the background above the photograph would hide the subject wherever the background is opaque.
Exercise
If a fully opaque background layer is moved above a subject layer, what happens?
Show answer
The background covers the subject wherever its pixels are opaque. Move the background below the subject to reveal the subject again.