Sub topic 7
Save, Save As, and Save a Copy: which one to use
This chapter assumes you can create and open documents and know what layers are. It also assumes you have a rough idea of what PSD, JPEG, and PNG are. The three commands look similar, but they differ in two ways. One is which file the open document stays tied to afterward. The other is whether Photoshop asks you to choose a format. Mixing them up is the most common way people lose layers or overwrite an original.
The idea: a document is linked to one file
An open Photoshop document lives in memory. It is linked to at most one file on disk, and that link determines where the next Save writes. All three commands write a file. They differ in what happens to the link afterward.
| Command | Shortcut (Windows / macOS) | Asks for name and format? | Link after saving |
|---|---|---|---|
| Save | Ctrl+S / Cmd+S | Only if the document has never been saved | Stays on the same file |
| Save As | Shift+Ctrl+S / Shift+Cmd+S | Yes | Moves to the new file |
| Save a Copy | Alt+Ctrl+S / Opt+Cmd+S | Yes | Stays on the old file, or on nothing if unsaved |
Menu labels and dialogs vary slightly between Photoshop versions. The behavior in the table is stable.
Save
Save writes the document back to the file it came from, in that file's format, with no name or format prompt. It is the right command for routine work on a PSD, because a Save costs almost nothing.
Three situations change this behavior:
- A new, never-saved document. Save has no file to write to, so it opens the Save As dialog.
- A document opened from a flat format. If you open a JPEG and press Save, Photoshop re-encodes the JPEG. It shows the JPEG Options dialog again. Each re-save of a JPEG recompresses the image and adds artifacts, so repeated saves lose quality.
- A flat file that now has layers. If you open a JPEG, add layers, and press Save, Photoshop usually switches to the Save As dialog, because the original format cannot hold layers.
Save As
Save As asks for a file name, a location, and a format. It also shows checkboxes for what to include, such as Layers, Alpha Channels, and Embed Color Profile. Options the chosen format cannot store are greyed out or unchecked.
After a Save As, the document is linked to the new file, and its title bar shows the new name. The old file stays on disk as it was when you last saved it. Any edits made since then are not in it.
This relinking is the trap. Suppose you work in banner.psd and choose Save As, then JPEG. The JPEG on disk is flat. Your open document is now linked to banner.jpg, and the layers exist only in memory. If you close the document and save, or if Photoshop crashes, the layered version is gone. You also might not have saved the PSD after your latest edits.
The Save As dialog also contains an As a Copy checkbox. When it is on, Save As behaves like Save a Copy: the open document keeps its link.
Save a Copy
Save a Copy writes a new file in the format you choose and leaves the open document alone. The title bar does not change. Your next Ctrl+S still goes to the original file.
Use it whenever you want a deliverable from a working document:
- A JPEG for email or the web
- A PNG with transparency
- A flattened TIFF for print
- A backup snapshot of the PSD
The workflow is: keep the layered PSD as the master, save it, then use Save a Copy for each delivery format. The master is never replaced by a lossy or flat file.
A Save a Copy of a layered document in a flat format flattens only the saved file. The open document keeps its layers.
Choosing the command
A practical rule: use Save for the master, Save a Copy for anything that leaves the building, and Save As only when you want the document itself to become a different file, such as banner_v2.psd.
Worked example
You are working on banner.psd, which has 12 layers, a layer mask, and a smart object. The client wants a JPEG and a transparent PNG.
- Press Ctrl+S to save the PSD with your latest edits.
- Choose File > Save a Copy. Name it
banner, pick JPEG, and confirm. In JPEG Options, pick a quality, for example 10 on the 0 to 12 scale. - Choose Save a Copy again. This time pick PNG. For transparency to survive, hide any solid background layer first.
- Look at the title bar. It still reads
banner.psd, so the master is still the open file. - Press Ctrl+S once more if you hid layers in step 3 and want to keep that state, or use Edit > Undo or the History panel to restore the background.
Hiding layers changes the document, so the master now differs from its saved state. Decide whether to keep that change before the next Save.
The same distinction in ExtendScript
Photoshop's scripting API has the same two behaviors. Document.save() is Save, and Document.saveAs() takes an asCopy argument that selects between Save As and Save a Copy.
// ExtendScript: Save vs Save As vs Save a Copy
var doc = app.activeDocument;
// Save: writes to the file the document is already linked to.
// This throws an error if the document has never been saved.
if (doc.saved || doc.fullName) {
try {
doc.save();
} catch (e) {
alert("Document has no file yet: " + e.message);
}
}
var jpegOpts = new JPEGSaveOptions();
jpegOpts.quality = 10;
jpegOpts.embedColorProfile = true;
// asCopy = true: Save a Copy. The document stays linked to its own file.
doc.saveAs(new File("~/Desktop/banner.jpg"), jpegOpts, true, Extension.LOWERCASE);
// asCopy = false: Save As. The document is now linked to banner_v2.jpg.
// Use this only if you mean to switch files.
// doc.saveAs(new File("~/Desktop/banner_v2.jpg"), jpegOpts, false, Extension.LOWERCASE);The doc.fullName check is a quick guard, but reading fullName on an unsaved document also raises an error in some versions. The try block around save() is the reliable protection. Scripts that export deliverables should nearly always pass true for asCopy.
Settings that affect saving
Two preferences under Edit > Preferences > File Handling (Photoshop > Settings on macOS) change how these commands feel:
- Maximize PSD and PSB File Compatibility. The options are Ask, Always, and Never. It stores a flattened preview inside the PSD so other programs can read the file. This makes the file larger.
- Save As to Original Folder. When on, the Save As dialog opens in the source file's folder instead of the last-used folder. This matters when you Save As from a file in a project folder and want to avoid writing to the wrong place.
The auto-save recovery setting writes recovery data every few minutes. It is a crash safety net, not a substitute for Save. Recovery data can be lost if you quit cleanly without saving, or if the recovery file is deleted.
Common errors
- Closing after an "As a Copy" JPEG and being asked to save changes. The document is still linked to the PSD, so the prompt refers to the PSD. Answer Save, and your master is preserved.
- Flattened master. You chose Save As, picked JPEG, and kept working. The PSD on disk is the older version and the open document now points to the JPEG. Reopen the PSD, or use Save As and pick PSD again under a new name.
- Overwrite prompts ignored. If you save a copy with the same name and folder as an existing file, Photoshop asks to replace it. Replacing an original photo loses it permanently.
- Missing layers option. If the Layers checkbox is grey, the selected format does not support layers. Change the format to PSD or TIFF, or accept a flat file.
- Extension mismatch. If a file name lacks an extension, the format you select decides the extension. Enable lowercase extensions in the dialog or script to avoid
.JPGon case-sensitive systems.
Exercise
You opened photo.jpg, added three adjustment layers, and want to keep both the editable version and a web JPEG. Which commands do you use, and in what order?
Show answer
Choose Save As, pick PSD, and name it photo.psd. This stores the layers and links the document to the PSD. Then choose Save a Copy, pick JPEG, and save photo_web.jpg (or any name that does not overwrite the original). Pressing Ctrl+S on the document in the first place would have recompressed the original JPEG or opened a Save As dialog, so avoid that.
Exercise
A script exports a JPEG of the active document by calling doc.saveAs(file, jpegOpts, false, Extension.LOWERCASE). What problem does this cause, and how do you fix it?
Show answer
With asCopy set to false, the script performs a Save As. The document becomes linked to the JPEG, and later saves overwrite the JPEG instead of the layered master. The fix is to pass true for asCopy.
Exercise
After you use Save As to write logo.png from logo.psd, you edit the document and press Ctrl+S. Which file changes, and what is the risk?
Show answer
The PNG changes, because the document is linked to it. The risk is that your layered work now exists only in memory and in the flat PNG. Prevent this by using Save a Copy for the PNG, or by saving the PSD again with Save As.