Sub topic 12
Scaling non-destructively with Smart Objects
This chapter assumes you know how pixel dimensions, resolution, and resampling relate (covered in earlier chapters), that you can use the Layers panel, and that you can open, save, and export files. It builds on the idea that every resample changes pixels and cannot be undone once you save and close.
Why repeated scaling damages an image
Every time you scale a normal pixel layer with Free Transform (Ctrl+T on Windows, Cmd+T on macOS) and commit the change, Photoshop resamples the layer. It computes new pixel values by interpolation. Interpolation always averages neighbors, so detail is lost on each pass.
Consider a layer scaled down to 25% and later scaled back up to 100%. The final layer has the original pixel dimensions again, but the detail that downsampling threw away does not return. Upsampling only invents new pixels by averaging the ones that remain. The result looks soft.
This matters in real work. A designer shrinks a logo to fit a layout, the client asks for it larger, and the designer scales it up again. Two resamples have now degraded the logo, even though the net scale looks like a small change.
The fix is to keep the original pixels stored and apply the scale as an instruction that Photoshop recalculates from the original each time.
What a Smart Object is
A Smart Object is a layer that contains the source image data (raster or vector) inside a protected container. The layer you see on the canvas is a rendering of that content, drawn at the current transform. The Layers panel marks it with a small page icon in the corner of the thumbnail.
When you transform a Smart Object, Photoshop does not change the stored source pixels. It stores the transform (scale, rotation, skew, warp) as a separate setting. Each time it redraws the layer, it resamples from the original source to the current size, once.
That gives you the key rule of this chapter: with a Smart Object, the quality of the result depends only on the current scale relative to the original, not on how many times you changed it.
Creating a Smart Object
You have several ways to create one. Choose whichever fits your starting point.
- Select one or more layers, then choose Layer > Smart Objects > Convert to Smart Object. Multiple selected layers become one Smart Object that contains them.
- Right-click a layer in the Layers panel and choose Convert to Smart Object.
- Use File > Place Embedded to bring an external file into the current document as a Smart Object. The file's data is copied into your document.
- Use File > Place Linked to reference an external file instead of copying it. Details are in the section on linked objects below.
- Open a file with File > Open as Smart Object.
If you drag a file from the file system onto an open document, current Photoshop versions place it as an embedded Smart Object by default. A placed image arrives with a bounding box so you can set its size right away.
Scaling a Smart Object
Select the Smart Object layer and press Ctrl+T (Cmd+T on macOS). Drag a corner handle to scale. Hold Shift to constrain proportions, or leave the chain-link icon on in the options bar (current versions constrain proportions by default and Shift toggles this). You can also type exact values into the W and H fields of the options bar, for example 50%. Press Enter to commit.
After committing, the layer is still a Smart Object. Reopen Free Transform and the bounding box reflects the current scale, for example 50%. You can type 100% and the layer returns to its original size with the original detail intact, because Photoshop renders from the stored source.
Interpolation applies to the transform
The interpolation method you choose in Preferences > General (Image Interpolation) governs how Free Transform resamples. The options bar also shows an interpolation menu while transforming. Bicubic Automatic is the default. Choose a method for the case at hand, as described in the earlier chapter on interpolation methods.
The limit: upsampling past the original
A Smart Object preserves the source, but it cannot create detail that the source never had. If the source is 1000 pixels wide and you scale the layer to 300%, Photoshop renders 3000 pixels from 1000. That is upsampling, and it looks soft just as it would on a pixel layer. Smart Objects protect you from loss caused by repeated edits. They do not protect you from enlarging a small source.
A vector source is different. If the Smart Object contains vector artwork, for example an Illustrator file placed into Photoshop, the content is rasterized fresh at the current size, so it stays sharp at large scale.
A worked example
You have a 4000 x 3000 px photo that you must place in a 1200 x 800 px banner, then possibly enlarge when the client changes the layout.
- Open the banner document (1200 x 800 px).
- Choose File > Place Embedded and select the photo. It arrives as a Smart Object, scaled to fit the canvas.
- Press Enter to commit the placement. Open Free Transform again and read the scale. It shows a percentage, for example 30%.
- Scale the photo to 25% to try a smaller crop. Commit.
- The client asks for a bigger photo. Open Free Transform and enter 40%. Commit.
At 40% the photo is 1600 x 1200 px, rendered once from the 4000 x 3000 px source. If you had done the same on a pixel layer, step 5 would have upsampled a layer that was already reduced to 25% (1000 x 750 px), so the result would be blurrier than the 40% render from the Smart Object.
The numbers make the difference concrete.
| Step | Pixel layer data used | Smart Object data used |
|---|---|---|
| Scale to 25% | 4000 px source, reduced to 1000 px, original discarded | 4000 px source kept, rendered at 1000 px |
| Scale to 40% | 1000 px layer enlarged to 1600 px (upsampling) | 4000 px source rendered at 1600 px (downsampling) |
The Smart Object case never upsamples in step 5, because 1600 px is still smaller than the 4000 px source.
Editing the contents
Double-click the Smart Object thumbnail to open its contents in a separate tab. For an embedded raster file this opens a temporary document. Edit it, save with Ctrl+S (Cmd+S), and the changes appear in the parent document at the current scale. Close the tab when you are done.
You can also reach this with Layer > Smart Objects > Edit Contents.
Two things catch people out:
- Saving the contents tab saves back into the parent document. It does not create a standalone file. To get a standalone copy, use Layer > Smart Objects > Export Contents.
- Changing the pixel dimensions of the contents document changes how the Smart Object fills the parent. The parent keeps its scale percentage, so if you enlarge the contents, the layer appears larger on the canvas.
Embedded versus linked Smart Objects
| Property | Embedded | Linked |
|---|---|---|
| Where the data lives | Inside the PSD or PSB | In the external file |
| File size of the parent | Larger | Smaller |
| Updating the source | Edit Contents, or Replace Contents | Edit the external file, and linked layers update |
| Risk | None from missing files | Broken link if the file moves or is deleted |
| Use for | Self-contained deliverables | Assets shared across several documents |
For a linked object, a missing file shows a warning icon in the Layers panel. Use Layer > Smart Objects > Relink to File to repair it. When you hand off a document, choose Layer > Smart Objects > Embed Linked to bring the data inside so the file is self-contained.
Duplicating and replacing
Duplicating a Smart Object layer with Ctrl+J (Cmd+J) creates a second layer that shares the same contents. Editing the contents of either one updates both. This is useful for repeated elements such as icons across a layout.
To break the connection, use Layer > Smart Objects > New Smart Object via Copy. That creates an independent copy with its own contents.
Layer > Smart Objects > Replace Contents swaps in a different file while keeping the position, scale, and any Smart Filters. This is how mockup templates work: a designer places artwork into a prepared screen layer and the transform fits it into the device frame.
Smart Filters
Filters applied to a Smart Object become Smart Filters. They stay editable and appear below the layer in the Layers panel, each with a mask. Because the source is untouched, you can change a Gaussian Blur radius later or turn the filter off.
Be aware of one interaction with scaling. Filter radii are measured in pixels of the source, not of the displayed result. If you apply Gaussian Blur with a 4 px radius and then scale the layer to 25%, the blur still reflects the filter applied to the source content before the transform, so the visible softness shrinks along with the image. Recheck the look after a large scale change.
What Smart Objects cannot do
- You cannot paint on a Smart Object, or use tools that change pixels directly, such as Brush, Clone Stamp, or Dodge. Photoshop shows a message that the layer must be rasterized first. Paint on a new empty layer above instead, or edit the contents.
- Rasterizing (Layer > Rasterize > Smart Object) throws the source away and bakes in the current scale. After that, the layer behaves like a normal pixel layer. Do this last, and keep a copy of the layered file.
- Smart Objects increase file size, because the source is stored alongside the rendered layer. A large embedded photo can add many megabytes. Use linked objects or flatten at the end when file size matters.
- Image > Image Size on the parent document resamples the rendering of each Smart Object, but the stored sources remain at their original size. If you resize the document down and then back up, Smart Objects render from the source again at the new scale, while normal pixel layers are resampled twice.
Decision checklist
- Will you scale this layer more than once, or are you unsure about the final size? Convert it to a Smart Object first.
- Is the source smaller than the size you need? A Smart Object will not add detail. Get a larger source.
- Is the content vector? Place it as a Smart Object so it stays sharp at any size.
- Do you need to paint on it? Add a layer above, or rasterize at the end.
- Will the file be shared? Embed linked objects before sending.
Exercise
A 2000 px wide photo is a normal pixel layer. You scale it to 50%, commit, and then scale it to 200%. What is the layer's pixel width, and would it match the original in sharpness? Then answer the same question if the layer was a Smart Object before the first scale.
Show answer
The pixel layer ends at 2000 px wide, the same as the start, but it is softer. The 50% step discarded half the detail (down to 1000 px), and the 200% step only invented new pixels by interpolation. The Smart Object also renders at 2000 px wide, and it is as sharp as the original, because its stored 2000 px source is rendered at 100% of its original size. Photoshop never relies on the intermediate 1000 px result.
Exercise
You place a 600 px wide logo (raster, not vector) as an embedded Smart Object and scale it to 250% to fill a banner. A colleague says that because it is a Smart Object, it will stay sharp. Is that correct, and what should you do?
Show answer
No. A Smart Object preserves the source across repeated edits, but the source has only 600 px of detail. At 250% the layer renders at 1500 px, which is upsampling from a small source, and it will look soft. Get a larger raster source, or a vector version of the logo, and use Replace Contents to swap it in while keeping the position and scale.