Now that you’re familiar with many of the basic controls in Photoshop, it’s time to explore some fun commands that can be applied to layers.
In this chapter, you will learn how to clip (hide the visibility of) multiple layers using a mask, blend pixels between layers using advanced controls, apply transformation commands to a layer (including normal and Content-Aware scaling), apply the Puppet Warp and Warp commands, and apply the Liquify filter. Note: To speed the preview of edits of the transform, Puppet Warp, Liquify, and Warp commands, check Use Graphics Processor in Preferences > Performance.
When layers are put into a clipping mask, the content of the bottommost layer, called the “base” layer, clips (limits which areas are visible on) the layers above it. The mode and opacity of the base layer are also applied to the clipped layers. You can edit or reposition individual layers in a clipping mask at any time, including the base layer. If you use type as the base layer, you can warp it via the Warp Text command (it will remain fully editable).
1. On the Layers panel, make sure the layers to be clipped are listed consecutively. The base layer can be a type, image, or shape layer or a Smart Object; stack it below the layers to be clipped.A
2. Do either of the following:
Click a layer to be clipped, or Shift-click multiple layers to be clipped (not the base layer) (A, next page), then press Ctrl-Alt-G/Cmd-Option-G (B–C, next page).
To clip one layer at a time, Alt-click/Option-click the line between two layers (the pointer becomes a square next to a downward pointing arrow), or right-click one of the layers to be clipped (not the base layer) and choose Create Clipping Mask.
3. Optional: To include more layers in the mask, either restack them between existing layers in the mask or repeat the preceding step.
• To use grouped layers in a clipping mask, all the layers (including the base layer) must be in the group.
• To reposition two or more clipped layers, Ctrlclick/Cmd-click their listings, then hold down the V key to spring-load the Move tool and drag in the document.D
When you release a layer from a clipping mask, any and all of the masked layers above it are also released.
Do either of the following:
Alt-click/Option-click the line below the layer to be released.
Click a layer to be released (not the base layer), then press Ctrl-Alt-G/Cmd-Option-G.
Alt-click/Option-click the line above the base layer.
Click the layer directly above the base layer, then press Ctrl-Alt-G/Cmd-Option-G.
• To merge clipped layers, see pages 148–149.
In these steps, you’ll edit a duplicate image layer, then blend the original and duplicate layers via the Opacity and blending mode controls on the Layers panel. You can use this method to soften the effect of a filter or other image edits or simply to see how various blending modes or Opacity settings affect your document.
1. On the Layers panel, click an image layer, then press Ctrl-J/Cmd-J to duplicate it.
2. Optional: If you want to apply a filter as an editable Smart Filter (next step), right-click the duplicate image layer and choose Convert to Smart Object (see page 344).
3. Apply some creative edits to the duplicate layer, such as brush strokes or a filter.A (To learn about the Filter Gallery, see pages 342–343.)
4. Keep the duplicate layer selected, then on the Layers panel, do either or both of the following:
Choose a different blending mode. You can press Shift - – or Shift- + to cycle through the blending modes.
Adjust the Opacity for the desired level of transparency.B–C
The Advanced Blending options in the Layer Style dialog let you control how a layer blends with underlying layers. Here, we’ll focus on the Blend If sliders.
1. Double-click next to the name of a layer or layer group on the Layers panel,A–B or right-click a layer or group and choose Blending Options from the context menu.
2. The Layer Style dialog opens (Blending Options should be selected in the upper left). Check Preview.
The first three controls — Blend Mode, Opacity, and Fill Opacity — are the same as on the Layers panel. (The Fill Opacity changes the layer opacity without altering the opacity of any layer effects. To learn about layer effects, see Chapter 20.)
3. Use the Blend If sliders to control which pixels in the current layer stay visible and which pixels from the underlying layer show through the current layer:
Move the black This Layer slider to the right to drop out shadow areas from the current layer.
Move the white This Layer slider to the left to drop out highlight areas from the current layer.
Move the black Underlying Layer slider to the right to reveal shadow areas from the underlying layer.A
Move the white Underlying Layer slider to the left to reveal highlight areas from the underlying layer.
To adjust midtone colors separately from the lightest and darkest colors, Alt-drag/Option-drag a slider (it will divide in two).B
4. Click OK. On the Layers panel, the layer will have this badge, indicating that the Advanced Blending options currently have nondefault settings.
• To display only layers that contain nondefault Advanced Blending settings, choose Attribute from the Filter Type menu on the Layers panel, and Advanced Blending from the second menu.
You can apply scale, rotate, skew, distort, and perspective transformations to a layer or layer group, among other things (see the sidebar at right). We’ll show you how to apply multiple transformations via the Free Transform command and the Move tool — the methods we find to be the most intuitive.
Note: To help preserve the image quality, if you need to apply multiple transformations, do them consecutively and accept the edits only after the last one; Photoshop will resample the image data just once.
1. On the Layers panel, click a layer, a Smart Object, a layer group, or the Background, or Shift-select multiple layers.A Any layers that are linked to the one(s) you have selected will also be transformed.
To transform the Background, you must create a selection, you must use the Free Transform command in step 3 (not the Move tool), and you need to choose a Background color (Photoshop will fill any exposed areas with that color).
2. Optional: If you clicked a single image layer, you can create a selection to limit which area is transformed.
3. Do either of the following:
Choose Edit > Free Transform, or for a shape layer, choose Edit > Free Transform Path (Ctrl-T/Cmd-T).
Choose the Move tool (V), check Show Transform Controls on the Options bar, then click any handle on the transform box to display transform features on the Options bar.
4. If you chose the Free Transform command, you can select a resampling method from the Interpolation menu (Options bar) (not available for a shape layer or Smart Object). Choose Bicubic Automatic to let Photoshop use the most suitable method.
5. A transform box with handles now surrounds either the whole selection or just the opaque part of the layer. Do one or more of the following:
To scale the item horizontally and vertically, drag a corner handle; to scale it just horizontally or vertically, drag a side handle; to scale it proportionally, Shift-drag a corner handle; or to scale it from the current reference point (represented by crosshairs in the transform box), Alt-drag/Option-drag a handle (add Shift to scale it proportionally from the reference point).B
To rotate it, position the pointer outside the transform box (the pointer becomes a curved, two-headed arrow), then drag. Shift-drag to constrain the rotation to a multiple of 15°.
To skew it, Ctrl-drag/Cmd-drag a side handle. Include Shift to constrain the movement.
To distort it, Ctrl-drag/Cmd-drag a corner handle.A–B
To apply perspective, Ctrl-Alt-Shift-drag/Cmd-Option-Shift-drag a corner handle along the horizontal or vertical axis (the pointer becomes an arrowhead, and an adjacent corner also moves).C
• As you perform a transformation, a dynamic readout that lists the dimensions or angle of your edits displays next to the pointer. To undo the last handle edit, choose Edit > Undo.
6. To resume normal editing, you must either accept or cancel the transformation:
To accept the edit(s), double-click inside the bounding box, press Enter/Return, or click the Commit Transform button on the Options bar.
To cancel the edit(s), press Esc or click the Cancel Transform button.
• Before dragging a handle, you can drag the reference point, from which the layer or selection is transformed, to a new location.
The standard transform features in Photoshop scale an entire layer uniformly, regardless of the layer content. The Content-Aware Scale command is fairly smart in that it tries to scale background areas without distorting shapes that have clearly defined borders, such as figures or objects. You can help protect areas from distortion by creating and using an alpha channel.
1. Duplicate an image layer to be scaled, then hide the original layer (A, next page).
2. Optional: To minimize distortion in an area of the layer, select that area, then on the Channels panel, click the Save Selection as Channel button. Deselect.
3. Choose Edit > Content-Aware Scale (Ctrl-Alt-Shift-C/Cmd-Option-Shift-C).
4. On the Options bar, do either of the following:
If you created an alpha channel (step 2, above), select the channel name from the Protect menu.
If the image contains figures, check the Protect Skin Tones button to help prevent distortion. Note that this feature does a better job of recognizing skin than clothing.
5. Slowly drag a handle on the bounding box (B, next page), or Shift-drag a corner handle for proportional scaling.
6. Optional: To permit some normal (non Content-Aware) scaling, lower the Amount below 100%. The lower the Amount, the greater the distortion and the less protective the effect of the alpha channel.
7. To accept the transformation, press Enter/Return or click the Commit Transform button on the Options bar (C–D, next page). To cancel the edits, press Esc or click the Cancel Transform button.
• You can’t apply the Content-Aware Scale command to an adjustment, type, shape, or video layer, or to a layer mask, multiple selected layers, a layer group, or a Smart Object.
• To specify the stationary point from which the layer is scaled, click a square on the reference point locator.
• To scale the layer based on a percentage of its original size, enter a W (width) or H (height) percentage. Activate the Maintain Aspect Ratio button first to scale proportionally.
With the Puppet Warp command, you stretch or bend areas of a layer by dragging pins on a mesh, as you might pull the strings of a puppet.
1. Duplicate an image layer or the Background. To warp an object or figure without its background, duplicate a layer that contains imagery and transparency. To keep the warp results editable, convert the duplicate layer to a Smart Object.
2. Choose Edit > Puppet Warp.
3. On the Options bar, choose these settings:
A Mode option to control the elasticity of the mesh: Rigid for limited 2-dimensional distortion, Normal for 2-dimensional distortion across a larger area, or Distort for 3-dimensional distortion and scaling.
A Density option to control the spacing of points in the mesh: Fewer Points for a faster but less precise warp; Normal for an average number of points; or More Points for a warp that takes longer to process but is more precise.
An Expansion value to expand or contract the mesh, and therefore the total area that is warped.
Optional: Uncheck Show Mesh.
4. In the document, click to set pins in both the areas to be warped and the areas that you want to anchor in place.A
5. Drag any individual pin,B or to move multiple pins, Shift-click them first (selected pins have a white dot in the center) (see also A–D, next page).
6. To apply rotation, do either of the following:
Click one pin, choose Auto from the Rotate menu on the Options bar, then drag the pin. The angle of rotation changes as you drag.
To rotate imagery around a pin, click the pin, position the cursor near (but not over) it, hold down Alt/Option, and when a circle with handles appears, drag in a circular direction. The Rotate menu for that pin will now be set to Fixed and the angle of rotation won’t change, even if you drag that pin or a different one. To unfix the rotation angle of a pin at any time, click it, then choose Auto from the Rotate menu.
7. Optional: To remove a pin and its warp effect, Alt-click/Option-click it (scissors pointer). To remove all the pins, click the Remove All Pins button on the Options bar, or right-click in the image and choose Remove All Pins.
8. To hide the mesh, if showing, press Ctrl-H/Cmd-H. To hide all the pins temporarily, press and hold H.
9. Make any further adjustments, then press Enter/Return or click the Commit Puppet Warp button (Options bar). (To cancel the warp, press Esc.)
Note: Because you applied the Puppet Warp command to a Smart Object, you can double-click the Puppet Warp listing on the Layers panel at any time to edit the warp.
• To move a shape (e.g., an extremity on a figure) in front of or behind another extremity, click its pin, then click the Pin Depth: Set Pin Forward or Set Pin Backward button on the Options bar.
Using the tools in the Liquify dialog (preferably with restraint), you can slim or reshape a waistline, chin, or oddly shaped clothing — instant liposuction! If only dieting were this easy ...
1. Open an RGB image.A Duplicate the Background, and keep the duplicate layer selected. Note: If you copy a selection of pixels to a separate layer, you won’t have to worry about protecting background areas.
2. Choose Filter > Liquify (Ctrl-Shift-X/Cmd-Shift-X). In the dialog, check Advanced Mode and zoom in on the area to be reshaped.
3. Click the Twirl Clockwise tool (C), Pucker tool (S), Bloat tool (B), or Push Left tool (O).
4. Under Tool Options on the right side of the dialog, do all of the following:
To control the amount of feathering and soften the distortion that occurs at the edge of the brush, set the Brush Density.
To control the strength of the distortion, set the Brush Pressure.
To control the speed at which the distortion occurs, choose a Brush Rate.
If you’re using a stylus (recommended), check Stylus Pressure and lower the Brush Pressure value.
5. Press [ or ] to size the brush cursor so that it covers the width of the area to be edited. (The maximum diameter for brushes is larger in CS6. )
6. To use the Push Left tool to push areas to the right (e.g., to slim down the left edge of a waistline), drag downward; B or to push areas to the left, drag upward.C–D Repeat, if necessary. To push pixels in the opposite direction from the default behavior, hold down Alt/Option while dragging.
If you’re using the Twirl Clockwise, Pucker, or Bloat tool, click and hold on an area. Repeat for a stronger effect (A, next page).
7. To compare the Liquify layer with the original Background, check Show Backdrop and choose All Layers from the Use menu.
8. Click OK (B, next page). If you want to intensify the results, reapply the last Liquify filter edits by pressing Ctrl-F/Cmd-F immediately.
There are several ways to restore layer pixels to their original, pre-Liquify state.
Do either of the following:
Under Reconstruct Options, click Reconstruct. In the Revert Reconstruction dialog, set the Amount slider to 100% to undo the edits fully or a lesser value to undo the edits partially.
Choose the Reconstruct tool (R), then press and hold on the areas to be restored.
Click Restore All (or Cancel out of the dialog).
1. Click a type or image layer or a Smart Object, then choose Edit > Transform > Warp; or click a shape layer, then choose Edit > Transform Path > Warp.
2. Do either or both of the following:
On the Options bar, choose a preset style from the Warp menu.A–C You can also click the Warp Orientation button to toggle horizontal and vertical distortion (not available for all presets), or reshape the grid by using the scrubby sliders for Bend, H (horizontal distortion), or V (vertical distortion).
Choose Warp: Custom on the Options bar (not available for editable type), then drag any of the interior squares, square corner points, grid lines, or direction line handles in the grid.D Note: If you don’t see the grid, turn on View > Extras.
3. To accept the warp edits, press Enter/Return or click the Commit Transform button on the Options bar (to cancel the edits, click the Cancel Transform button or press Esc).E
• The Type > Warp Text dialog has the same controls as the Warp command, except it’s just for type.
• While warp or transform controls are showing in your document, you can click the Switch Between Free Transform and Warp Modes button on the Options bar to toggle the two modes. In fact, to minimize resampling and preserve the image quality, when you need to apply multiple transform and/or warp edits, it’s best to toggle between the two commands, then accept them all at once.
• To access and edit the warp settings for a type or shape layer or a Smart Object, repeat step 1 at left. (If you want to remove the warp, choose None from the Warp menu on the Options bar.)
• To remove warp edits from an image layer, click the state prior to the “Warp” one on the History panel.