Sub topic 17
Recording the Setup as an Action
This chapter assumes you are comfortable with Photoshop layers, groups, blend modes, masks, and the Apply Image command. An action is a recorded sequence of Photoshop commands that you can replay on another image. Use actions to automate repeatable setup steps, not artistic decisions that depend on each face.
What an action should automate
A frequency-separation action can create and name the working layers, apply the blur, configure Apply Image, and set the blend mode. Record separate actions for 8-bit and 16-bit documents because Apply Image uses different settings for each bit depth.
Do not record the actual retouching strokes. A blur radius that works for one image may create halos on another. Also, healing and cloning need different sample locations for every portrait.
A useful action stops after it creates a ready-to-edit stack:
| Step | Purpose |
|---|---|
| Duplicate the background | Preserve the original pixels |
| Create and name Low | Store color and tone |
| Apply Gaussian Blur | Remove detail from the Low layer |
| Create and name High | Store fine texture |
| Apply Image | Calculate the texture difference |
| Set Linear Light | Recombine High and Low |
Record a frequency-separation action
- Open a representative portrait and confirm its image mode with Image > Mode.
- Open the Actions panel from Window > Actions.
- Create a set such as
Portrait Retouching. - Create an action named
Frequency Separation - 8 bitorFrequency Separation - 16 bit. - Click Record.
- Duplicate the background layer. Name the lower copy
Low. - Apply Filter > Blur > Gaussian Blur. Choose a radius that separates broad color from visible texture. The correct value depends on image resolution and the detail you want to retain.
- Duplicate the blurred layer or duplicate the source layer according to your established workflow. Name the upper layer
High. - Select
Highand open Image > Apply Image. - Enter the settings for the document's bit depth.
- Set the High layer to Linear Light.
- Stop recording. Add the two layers to a group named
Frequency Separationif your workflow uses groups.
8-bit action: Apply Image > Subtract, Scale 2, Offset 128, Invert off
16-bit action: Apply Image > Add, Scale 2, Offset 0, Invert on
High layer: Linear LightThe action may open dialogs during playback. This is useful when you want to choose a radius for each image. If you enable a dialog's left-side control in the Actions panel, Photoshop pauses there and lets you adjust the value.
Test and maintain the action
Replay the action on a different portrait in the same bit depth. Toggle the frequency-separation group off and on. The visible result should remain unchanged when the layers are correctly configured. If the image becomes too bright, too dark, or shows strong edges, check the Apply Image settings and the High layer's blend mode.
Keep the 8-bit and 16-bit actions clearly named. Photoshop actions can replay successfully while producing the wrong result if an action was recorded for a different bit depth.
Exercise
Why should frequency separation setup actions be recorded separately for 8-bit and 16-bit documents?
Show answer
Apply Image requires different blending, inversion, scale, and offset settings for the two bit depths. A single action can create an incorrect result when replayed in the other mode.