Sub topic 3
Opening files: File > Open, recent files, drag and drop, and what changes on open
This chapter assumes you know the Photoshop workspace, the idea of pixel dimensions and resolution, and what a layer is. It covers the ways to get an existing file into Photoshop, what Photoshop does to the file on the way in, and the mistakes that cause trouble later.
Opening is not the same as editing the original
When you open a file, Photoshop reads it from disk and builds a document in memory. You edit that in-memory document. The file on disk stays untouched until you save. Three consequences follow:
- Closing without saving discards your edits and leaves the original as it was.
- The history list starts empty for every opened file, so you cannot undo changes made in an earlier session.
- Whatever the format could not store is gone from the document on open. A JPEG has no layers, so Photoshop cannot give you any.
The ways to open a file
File > Open
File > Open (Ctrl+O on Windows, Cmd+O on macOS) shows a file browser. You can select several files with Shift or Ctrl/Cmd and open them together. Each file becomes its own document tab.
Related commands in the File menu:
- Open As (Windows) or the Format pop-up in the Open dialog (macOS) forces Photoshop to read a file as a specific format. This helps when a file has the wrong extension, such as a PNG named
photo.jpg. - Open as Smart Object opens the file wrapped in a smart object, so later scaling and filters stay non-destructive.
- Open Recent lists files you opened lately.
Open Recent and the Home screen
Open Recent keeps a list of recent files. Set its length in Preferences > File Handling > Recent File List Contains. The default is 20, and you can raise it to 100. The Home screen, which appears when no document is open, shows the same history with thumbnails. It also has an Open button and a button for cloud documents.
A recent entry is a path, not a copy. If you moved, renamed, or deleted the file, or unmounted the drive, Photoshop reports that it cannot find the file.
Drag and drop
Dragging a file from Explorer or Finder behaves differently depending on where you drop it:
- Dropped on the Photoshop icon, or on the workspace or tab bar, it opens as a new document.
- Dropped onto the canvas of an open document, it is placed into that document as a new layer, normally as an embedded smart object. It does not open on its own.
That second case surprises people. If you wanted a separate document and a layer appeared inside your current one, undo and drop the file on the tab bar instead.
Other entry points
Adobe Bridge, Lightroom Classic ("Edit in Photoshop"), and the operating system's "Open with" menu all hand a file to Photoshop. The result is the same as File > Open, except that Lightroom can also pass a copy it has rendered with adjustments applied.
What happens on open
Layer structure
The file format decides what you get:
| File type | What you get on open |
|---|---|
| PSD or PSB | The full layer stack, masks, smart objects, and adjustment layers |
| JPEG | One layer named Background, locked |
| PNG with transparency | One ordinary, unlocked layer with transparent areas |
| PNG without transparency | One Background layer |
| Camera raw | A Camera Raw dialog first, then a flat document |
The Background layer is special. It cannot be moved and has no transparency. Double-click it, or click its lock icon, to turn it into a normal layer. Opened PNGs skip this because they can store alpha, so transparency survives.
Raw, PDF, and vector files
Camera raw files open in the Camera Raw dialog, where you set exposure, white balance, and other options before pixels reach the document. You can have JPEG and TIFF files open there too, using the JPEG and TIFF handling setting in Camera Raw preferences.
PDF, Illustrator (AI), and EPS files are vector or mixed formats. Photoshop shows a dialog where you pick the pages or images and set the output width, height, and resolution. The file is then rasterized, meaning converted to pixels, at that size. Choose the size you need now. Rasterizing a small version and scaling it up later gives blurry results.
Color profile checks
An embedded profile describes how the file's numbers map to real colors. On open, Photoshop compares it with your working space (set in Edit > Color Settings), and your color management policy decides what happens.
- Embedded Profile Mismatch appears when the file's profile differs from your working space. Choices are: use the embedded profile, convert the colors to the working space, or discard the profile.
- Missing Profile appears when the file has no profile. Choices are: leave it as is, assign the working space, or assign another profile.
Pick "Use the embedded profile" when you are not sure. It keeps the colors as the author intended. Converting changes pixel values, and discarding the profile can shift the colors, because Photoshop then guesses.
Color mode and bit depth carry over as stored. A 16-bit CMYK file opens as 16-bit CMYK. The title bar tab shows the result, for example photo.jpg @ 50% (RGB/8).
Fonts and linked files
A PSD that uses fonts you do not have shows a missing-fonts warning. Photoshop substitutes a different font, and the text layer is marked as needing attention. Do not save over the file until you have resolved this, because the substitution can change line breaks and spacing for good. A PSD that contains a linked smart object whose source file moved shows a missing-link warning. Relink it through Layer > Smart Objects > Relink to File.
Size limits
PSD files are limited to 30,000 pixels per side and 2 GB. Larger files use PSB (Large Document Format), up to 300,000 pixels per side. Older plug-ins and other software may not read PSB.
Save behavior after opening
After you open a file, the document remembers its original name and format.
- Pressing Ctrl/Cmd+S on an opened JPEG saves back to JPEG and re-compresses it. Each lossy save loses a little more quality.
- Pressing Ctrl/Cmd+S on an opened PSD overwrites the PSD.
- Edits to a JPEG that you add layers to cannot be saved back as JPEG with layers. Photoshop will prompt you to save as PSD, or flatten the image.
The next chapters cover Save, Save As, and Save a Copy in detail. For now, treat an opened JPEG as a source, and save your working version as a PSD.
Opening from a script
ExtendScript can open files too. This script asks the user to pick a file, opens it, and reports the name and size:
// ExtendScript (run via File > Scripts > Browse)
var file = File.openDialog("Choose an image");
if (file) {
var doc = app.open(file);
alert(doc.name + ": " + doc.width + " x " + doc.height);
}File.openDialog returns null if the user cancels, so the if (file) check prevents an error. The alert shows the size in the document's current ruler units, for example 1920 px.
Common errors and fixes
- "Could not complete your request because it is not the right kind of document." The extension and the real format disagree. Use Open As and pick the actual format.
- A layer showed up in the wrong document. You dropped the file on a canvas instead of the tab bar.
- Colors look different after opening. Check the profile dialog choice and Edit > Color Settings. Compare the document's profile (shown in the status bar or View > Proof Setup) to the original.
- The file will not open from Recent. The path no longer exists. Browse to the new location with File > Open.
- Everything is locked. You are looking at a Background layer. Double-click it to unlock.
Exercise
You open a JPEG called team.jpg, add a text layer, and press Ctrl+S. What does Photoshop do, and what should you do to keep the text editable?
Show answer
Photoshop cannot save a layered document as JPEG, so it will prompt you to save as a different format or flatten the image. If you flatten, the text becomes pixels and is no longer editable. To keep it editable, use Save As (or Save a Copy for a JPEG) and save a PSD as your working file, then export the JPEG separately when you need one.
Exercise
You drag logo.png from your desktop onto the middle of an open document, and it appears as a new layer. You wanted it in its own document. What is the fix?
Show answer
Undo the placement, then drag the file onto the tab bar or an empty workspace area instead, or open it with File > Open. Dropping on the canvas places the file into the current document.