Sub topic 14
Save the Layered PSD and Export a Flat Copy
This chapter covers the last step of a composite: keeping an editable master file and producing flat files for sharing. It assumes you have a finished composite with a background layer, a Smart Object, a layer mask, and clipped adjustment layers. It also assumes you can use the File menu and know roughly what JPEG and PNG are.
Why you keep two kinds of file
A composite has two jobs. You need a file you can reopen and keep editing. You also need a file that other people and programs can display. Photoshop treats these as separate outputs.
- The PSD (Photoshop Document) is your master. It stores layers, masks, adjustment layers, Smart Objects, blend modes, and opacity values.
- A flat copy is a single-layer image such as a JPEG or PNG. Everything is merged into one grid of pixels. Web pages, email, social media, and most printers accept these files.
Once you export a flat copy, you cannot recover the masks or adjustments from it. So the PSD is the file you protect, and the flat copy is disposable. You can always make a new one.
Save the layered master
Use File > Save As the first time, and choose Photoshop (*.PSD) as the format. Name the file so you can find it later, for example harbor-composite-master.psd.
Check these points in the Save As dialog:
- Keep Layers ticked, so the layers are saved.
- Keep Embed Color Profile ticked, which usually shows sRGB IEC61966-2.1 or a similar profile. This keeps colors consistent when you reopen the file.
- Save to a folder that is backed up, not just the desktop.
After the first save, press Ctrl+S (Windows) or Cmd+S (macOS) often. Saving a PSD is quick and does not alter your pixels.
PSD or PSB
A standard PSD has a size limit of 2 GB and 30,000 pixels on a side. A PSB (Large Document Format) lifts those limits. Photoshop offers PSB when a file gets too big. A two-photo composite rarely needs it, but a large print with many layers might.
What happens to Smart Objects when you save
Your second photo is a Smart Object, so the original image data is stored inside the PSD. That keeps the layer editable and resizable without quality loss, but it also makes the file larger. If you used Place Linked instead of Place Embedded, the PSD stores only a reference to the original file. In that case, moving or renaming the source photo breaks the link, and Photoshop shows a missing-file warning.
| Placement type | Stored in the PSD | Risk |
|---|---|---|
| Embedded Smart Object | The full image data | Larger PSD |
| Linked Smart Object | A path to the original file | Broken link if the source moves |
If you plan to send the PSD to someone else, embed everything. You can convert a linked layer with Layer > Smart Objects > Embed Linked.
Choose the right export format
Pick the format by what the image contains and where it will go.
| Format | Compression | Transparency | Best for |
|---|---|---|---|
| JPEG | Lossy (smaller file, some detail loss) | No | Photographs, web, email |
| PNG | Lossless (larger file, no detail loss) | Yes | Graphics, images that need transparent areas |
| TIFF | Lossless or none | Yes | Printing and archiving |
A photographic composite with no transparent areas usually goes to JPEG. Choose PNG if you need transparency, or if you want to avoid any further quality loss. A PNG of a photograph can be several times larger than a JPEG of the same image.
Export a flat copy
Photoshop offers several routes. Use whichever matches your needs.
Export As
File > Export > Export As is the most direct route for a single image. It does not change your open document.
- Choose File > Export > Export As.
- Set Format to JPG or PNG.
- For JPG, set Quality. Values between 70% and 90% work for most web images.
- Under Image Size, set the width and height you want. Leave the link between them on to keep proportions.
- Set Resample to a method such as Bicubic Smoother when enlarging or Bicubic Sharper when reducing.
- Under Color Space, tick Convert to sRGB and Embed Color Profile for web use.
- Click Export All and choose a location.
Save a Copy
File > Save a Copy writes a copy and leaves your PSD open and untouched. Choose JPEG, PNG, or TIFF, and Photoshop opens that format's options. This route gives you more control over format details, such as JPEG baseline versus progressive.
Quick Export
File > Export > Quick Export as PNG (or as the format set in preferences) skips the dialog and writes a file at once. It is fast, but you cannot adjust quality, so use it for drafts.
Save for Web (Legacy)
File > Export > Save for Web (Legacy) is an older dialog that remains available. It shows a live file-size estimate, which helps when you must hit a size limit. Newer Photoshop versions steer you toward Export As, but the legacy dialog still works.
Flattening with Layer > Flatten Image
You rarely need to flatten the open document. The export routes above merge the layers inside the exported file, and your PSD stays layered. If a printer or a tool requires a flattened document and you must flatten, do it on a duplicate:
- Choose Image > Duplicate, and tick Duplicate Merged Layers Only if you want just the visible result.
- Work on the duplicate, then flatten it and save under a new name.
Alternatively, Layer > Merge Visible (Shift+Ctrl+Alt+E on Windows, Shift+Cmd+Option+E on macOS, with the key combination for Stamp Visible) creates a new merged layer on top of the stack while keeping every original layer. That is useful for final sharpening, as the next section shows.
Final touches before exporting
Apply these in the PSD so they stay editable, then export.
- Sharpen for output. Make a stamped copy of the visible result, convert it to a Smart Object, and use Filter > Sharpen > Smart Sharpen or Unsharp Mask. Because it is a Smart Object, the filter stays editable.
- Check hidden layers. Export includes only visible layers. A forgotten visible layer at the top of the stack appears in the export, so scan the Layers panel.
- Check the canvas. If the Smart Object extends past the canvas edge, the extra area is cropped on export. Confirm the canvas size under Image > Canvas Size if you need a particular frame.
- Check the color mode. Use RGB for screen output. If the file is in CMYK or another mode, convert with Image > Mode > RGB Color on a copy.
Typical problems and fixes
| Symptom | Likely cause | Fix |
|---|---|---|
| Exported colors look dull in a browser | The file was not converted to sRGB | In Export As, tick Convert to sRGB |
| Edges show a pale halo | The mask edge keeps background pixels | Return to the PSD, refine the mask edge, and export again |
| JPEG shows blocky patches in smooth sky | Quality set too low | Raise Quality, or export PNG |
| PSD opens with a missing-link warning | Linked Smart Object source moved | Use Layer > Smart Objects > Relink to File, or embed it |
| Exported file is the wrong size | Image Size left at the document size | Set width and height in Export As |
| Export shows a layer you meant to hide | The layer's eye icon was on | Hide it in the PSD and export again |
The full workflow at a glance
A naming habit that saves trouble
Use a clear pattern so you never confuse the master with a copy. For example:
harbor-composite-master.psdfor the layered fileharbor-composite-web.jpgfor the web exportharbor-composite-v2-master.psdwhen you make a major change
If you want a history of changes, use File > Save As with a new version number at milestones, such as before a big mask change. Disk space is cheap compared with lost work.
Verify the export
Open the exported file in Photoshop or an image viewer and zoom to 100%. Look at these areas:
- Mask edges, for halos or jagged lines.
- Smooth gradients such as sky, for banding or blocky patches.
- Overall color, compared with the PSD on screen.
- Dimensions, using Image > Image Size on the exported file.
If you spot a fault, fix it in the PSD and export again. Do not try to repair the flat file, because the layers that would make the repair easy are not there.
Exercise
You finish a composite and export a JPEG with File > Export > Export As. A week later your client asks you to make the second photo's sky slightly darker. Which file do you open, and why can you make the change quickly? Name the two features that make it possible.
Show answer
Open the layered PSD, not the JPEG. The JPEG is flat, so the mask and adjustments are merged into pixels. In the PSD, the clipped adjustment layer for the second photo can be edited (for example, lowering its Brightness or a Curves point), and the layer mask and Smart Object remain intact. Then export a new JPEG. The two features are adjustment layers (non-destructive edits) and the preserved layer structure of the PSD, including the layer mask.
Exercise
A colleague opens your PSD and sees a missing-file warning on the second photo. What most likely caused it, and what are two ways to fix it?
Show answer
The second photo was placed as a linked Smart Object, and the original file was moved, renamed, or not sent with the PSD. Fix it by choosing Layer > Smart Objects > Relink to File and selecting the original image, or by restoring the file to its old location. To prevent it, convert the layer with Layer > Smart Objects > Embed Linked and save again.