Sub topic 5
Scale and position with Free Transform
Free Transform is the command that sizes, rotates, and places a layer on the canvas. In a composite, it is how you make the second photo's subject match the scale and angle of the first photo's scene. This chapter covers the working model, the keyboard modifiers, the settings that control image quality, and the errors that most often cause trouble.
Prerequisites
This chapter assumes you can:
- Open the Layers panel and select a layer.
- Place a second photo into your document (covered in the previous chapters on combining images and Smart Objects).
- Use the Move tool and the Options bar.
Your document should have a background photo and a second photo on its own layer. If you placed the second photo as a Smart Object, that is the best case for this chapter, and the reason is explained below.
The working model
A transform changes where a layer's pixels are drawn. It does not change the document. Photoshop shows a bounding box around the layer with eight square handles: four corners and four sides. A small crosshair in the center is the reference point, also called the pivot. Scaling and rotation happen around that pivot.
Start a transform in any of these ways:
- Press Ctrl+T (Windows) or Cmd+T (Mac).
- Choose Edit > Free Transform.
- When you place a file with File > Place Embedded, Photoshop opens the transform box for you automatically.
While the box is active, you can drag handles, drag inside the box to move, and drag outside a corner to rotate. Nothing is final until you commit. Press Enter or Return, or click the checkmark in the Options bar, to commit. Press Esc, or click the cancel icon, to throw the changes away.
Scale while keeping proportions
The most common mistake in a composite is stretching a subject. If a person looks too wide or too tall, the viewer notices even if they cannot say why.
Behavior depends on your Photoshop version:
- In current versions of Photoshop (2019 and later), dragging a corner handle keeps the proportions by default. Hold Shift to scale freely, which is the reverse of the older behavior.
- In older versions, dragging a corner handle stretches the layer unless you hold Shift.
Because of this difference, do not rely on memory. Look at the Options bar while the transform is active. It has a link icon between the W and H fields. When the link is on, width and height change together. You can click the icon to turn the link on or off, whatever your version does by default.
To scale by exact numbers:
- Press Ctrl+T or Cmd+T.
- Make sure the link icon between W and H is active.
- Type a percentage in the W field, for example
60%, and press Tab. H updates to match. - Press Enter to commit.
Scale from the center
Dragging a corner handle moves the opposite corner's position as a fixed anchor. Hold Alt (Windows) or Option (Mac) while dragging to scale from the center instead. This keeps the subject centered on the same spot while it grows or shrinks, which helps when you have already positioned it.
Rotate and flip
To rotate, move the pointer just outside a corner handle until it becomes a curved double arrow, then drag. Hold Shift to snap to 15-degree steps. You can also type a value in the rotation field in the Options bar, which is useful when you need to match a horizon.
To flip, right-click inside the transform box and choose Flip Horizontal or Flip Vertical. You can also use Edit > Transform > Flip Horizontal without opening the box.
Flipping is a quick way to fix lighting direction. If the light in the background photo comes from the left and the subject is lit from the right, a horizontal flip can solve it. Do not flip a subject that contains text, logos, or a recognizable face you need to keep accurate, because the flip will mirror them.
Move the pivot point
The pivot is where rotation happens. By default it is at the center of the box. If you want a layer to swing around a corner or a foot, click one of the nine squares in the reference point grid at the left of the Options bar, or drag the crosshair itself.
Use this when a subject stands on the ground. Placing the pivot at the subject's feet means rotating or scaling keeps the feet where they are.
Position the layer
You have three ways to move a layer:
| Method | How | Best for |
|---|---|---|
| Drag inside the transform box | Click inside the box and drag | Rough placement during a transform |
| Move tool (V) | Select the layer, then drag on the canvas | Placement after committing |
| Arrow keys | Move tool active, tap an arrow | Nudging 1 pixel at a time; Shift moves 10 pixels |
The X and Y fields in the Options bar place the pivot at exact coordinates. These are useful when you must repeat a position or match two files.
If Auto-Select is turned on for the Move tool, clicking the canvas selects whichever layer is under the pointer. This often grabs the wrong layer in a composite. Turn Auto-Select off, or set it to Layer instead of Group, if you notice the wrong layer moving.
Judge scale by the scene
The numbers do not tell you whether the scale is right. The scene does. Check these cues:
- Horizon line. The eye level in a scene sits on the horizon. A standing subject photographed at eye level should have their eyes near the horizon line of the background.
- Reference objects. Compare the subject with doors, chairs, cars, or trees nearby. A person is usually about as tall as a standard door.
- Distance. A subject placed farther back should be smaller and sit higher on the ground plane. A subject in front should be larger and lower.
- Sharpness. A far subject should usually be a little softer, with less contrast, than a near one.
Zoom out to 50% or 25% to judge scale. Small errors are easier to see at a smaller size.
Quality: Smart Objects and resampling
Every time you scale a normal pixel layer and commit, Photoshop resamples the pixels. It builds new pixels from the old ones. Shrinking a layer and then enlarging it does not restore detail. The detail is gone, and the result looks soft.
A Smart Object avoids this. It keeps the original pixels untouched and applies the transform as a recipe. You can scale it down, commit, and later scale it back up with no loss, up to the original resolution.
| Layer type | Scale down then up | Result |
|---|---|---|
| Normal pixel layer | Pixels are resampled each time | Detail is lost and cannot be recovered |
| Smart Object | Transform is stored, original is kept | Detail returns up to the original size |
If your layer is a normal layer, convert it before you transform it: right-click the layer and choose Convert to Smart Object.
Interpolation
The Options bar has an Interpolation menu that sets how new pixels are calculated. Bicubic Automatic is the default and is a good choice. Bicubic Sharper can help when shrinking. Bicubic Smoother can help when enlarging. For most composites, leave the default alone.
Warp and Perspective
Free Transform also has more advanced modes. Right-click inside the box to see them.
- Skew slants the layer along one axis.
- Distort moves each corner independently.
- Perspective moves two corners together, which changes the apparent viewing angle.
- Warp bends the layer with a grid, useful for fitting a flag or a shirt to a curve.
Use these sparingly. A modest Perspective change can fix a subject photographed from a different angle than the background. Large distortions look fake and are hard to hide.
Common errors
| Symptom | Likely cause | Fix |
|---|---|---|
| Subject looks stretched | Link icon is off, or Shift was held on a version that locks by default | Press Ctrl+Z, turn the link on, and scale again |
| Transform handles are not visible | The box is larger than the window | Zoom out with Ctrl+minus, or press Ctrl+0 to fit the screen |
| Free Transform is grayed out | The layer is locked, it is the Background layer, or no layer is selected | Unlock the layer, or double-click the Background layer to convert it |
| Layer mask gets transformed along with the layer | The link icon between the layer and mask thumbnails is on | Click the chain icon to unlink before you transform only the image |
| Wrong layer moves | Auto-Select is on | Turn it off |
| Edges look jagged or soft after scaling | A pixel layer was resampled several times | Undo, convert to a Smart Object, and scale once |
Transforming a layer that already has a mask
If the layer has a mask, the chain icon between the layer thumbnail and the mask thumbnail controls what happens. When linked, the mask scales and moves with the image. This is usually what you want, because the mask keeps lining up with the subject. When unlinked, you can move the image under a fixed mask. That is useful for repositioning the subject inside its cutout, but it can reveal edges you did not intend to show.
Work in a sensible order
Transforming early is cheaper than transforming late. A reasonable order is:
- Convert the layer to a Smart Object.
- Scale and rotate to the right size in one session.
- Position the layer.
- Commit once.
- Only then add the selection and mask in the next chapters.
Repeated transforms of a masked, adjusted layer make problems harder to find. If you realize later that the scale is off, you can still redo it, but the mask edges may need to be checked again.
Try it
Open your composite and select the second photo's layer.
- Convert it to a Smart Object if it is not one already.
- Press Ctrl+T or Cmd+T and confirm the link icon is active.
- Scale the layer down to about 50%, then commit.
- Press Ctrl+T again and scale it back to 100%. Notice that a Smart Object looks sharp again.
- Repeat steps 3 and 4 on a duplicate normal layer, and compare the sharpness.
Exercise
You scaled a normal (non-Smart) pixel layer down to 30% and committed. Later you want it back at its original size. Why will it look soft, and what should you have done first?
Show answer
When you committed the reduction, Photoshop resampled the layer and threw away the extra pixels. Scaling up again can only invent new pixels from the small version, so detail is lost. Before transforming, you should have converted the layer to a Smart Object (right-click the layer, then Convert to Smart Object). A Smart Object keeps the original pixels and applies the transform as a stored setting, so scaling back up restores the detail.
Exercise
A subject you placed looks too wide after you dragged a corner handle. Name two things to check in the Options bar and the keyboard, and one way to set an exact reduced size without dragging.
Show answer
Check that the link icon between the W and H fields is active, and check whether Shift is being held, since its effect depends on the Photoshop version. To set an exact size, press Ctrl+T or Cmd+T, make sure the link is on, type a percentage such as 60% into the W field, press Tab, and press Enter to commit.