Sub topic 13
Choosing a format: a decision guide for common deliverables
This chapter assumes you can create, open, and save documents in Photoshop. It also assumes you know the basics of PSD, JPEG, and PNG from the earlier chapters. Here you will put that knowledge to work. For a given job, you will decide which format to save, which command to use, and which settings to check.
The two questions that decide most cases
Most format decisions come down to two questions:
- Will anyone need to edit this file again? If yes, you need layers, masks, and smart objects. Only PSD (or its large-file variant PSB) keeps all of them. TIFF can keep layers, but support outside Photoshop is patchy.
- Where will the file be viewed? A browser, a phone, a print shop, and a colleague's Photoshop each expect different things.
Keep one rule in mind. The editable master and the delivered file are different files. You make the master once and derive the delivered files from it as needed.
Format comparison
| Property | PSD | JPEG | PNG |
|---|---|---|---|
| Compression | Lossless | Lossy | Lossless |
| Layers, masks, smart objects | Kept | Flattened | Flattened |
| Transparency | Kept | Not supported | Kept (alpha) |
| Typical file size for a photo | Large | Small | Medium to large |
| Typical file size for a flat graphic | Medium | Small, but with visible artifacts | Small |
| Best role | Editing master | Photos for web and email | Logos, UI, screenshots |
Two limits matter in practice. JPEG cannot store transparency. If you save a document with a transparent area as JPEG, Photoshop fills that area with a matte color, which is white by default. PSD files are capped at 2 GB. If a master grows past that, use PSB (Large Document Format), which handles much larger documents but opens only in recent Photoshop versions and a few other tools.
Deliverables, one by one
Editing master
Save a PSD with layers, masks, adjustment layers, and smart objects intact. Turn on Maximize Compatibility if other people or older applications will open the file. The file gets bigger, because Photoshop stores a flattened composite inside the PSD, but previews and other programs can then read it.
Keep any embedded smart objects as they are. A smart object keeps its original pixels, so you can rescale it later without the damage that repeated resizing causes.
Use Save (or Save As) for the master. The master is the file you want the open document to point at.
Photo for web or email
Use JPEG, derived from the master. Flattening happens in the output, so the layered master is untouched.
- Use Export As or Save a Copy, so the open document stays the PSD.
- Convert to sRGB before delivery. Browsers and most phones assume sRGB, and a wide-gamut profile can look dull in software that ignores profiles.
- Scale to the display size you need. A 6000 px wide photo shown at 1200 px wastes bandwidth.
- Pick a quality level by looking at the result. In Save As, quality runs from 0 to 12. In Export As it runs from 0 to 100. Values around 8 to 10 (or roughly 70 to 85) are common starting points for photos. Check areas with fine detail and smooth gradients, because artifacts show up there first.
Logo or icon with transparency
Use PNG. Make sure the layer is not a locked Background layer, since a Background layer has no transparency. Check that the checkerboard shows through where you expect it. For logos, a vector format such as SVG is often better on the web. Photoshop can export SVG from some layers through Export As, but complex raster effects will not survive. If the client needs to scale the logo freely, ask for the original vector file.
Screenshot or UI mockup
Use PNG. Flat colors and sharp text compress well in a lossless format. JPEG would add ringing (fuzzy halos) around text edges.
Print handoff
Ask the printer what they accept. Common answers are a high-quality JPEG, a flattened TIFF, or a PDF. If they take your PSD, send a copy and keep your master. Match the color mode and profile they specify, and do not convert to CMYK on your own unless asked, because the conversion is lossy in practice.
Work in progress shared with another Photoshop user
Send the PSD or PSB. If the file links to external assets, embed them or package the files, or the recipient will see missing-link warnings.
Edge cases and gotchas
- Re-saving a JPEG repeatedly. Each lossy save discards more data. Open the master, edit, and export again. Do not open a JPEG, edit, and save it over itself, repeatedly.
- Photos as PNG. A PNG of a photo is valid, but it is often several times larger than a good JPEG. Use it only when you need transparency or exact pixels.
- Flat graphics as JPEG. Sharp edges and flat color show artifacts quickly. If the file looks fuzzy around text, switch to PNG.
- Bit depth. JPEG is always 8 bits per channel. A 16-bit document is converted when you save as JPEG. If you want to keep 16-bit data, use PSD or TIFF.
- Profile mismatch. If you embed a profile, viewers that honor it will display the colors correctly. If you strip it, viewers assume sRGB. Stripping a wide-gamut profile without converting first changes how the image looks.
- Metadata. Export As lets you choose what to keep. Strip location and camera data from images you publish publicly.
- Antialiased edges on transparent PNGs. Soft edges are blended with the color behind them when you view the file. A halo of the old background color can show on a new background. Fix it by cleaning up the edge in Photoshop (for example, with a mask) before export.
- Cloud documents. A cloud document is saved in Adobe's cloud rather than as a local PSD file. It is a different thing from a local PSD, and you still export JPEG or PNG from it in the usual way.
A decision function, as code
The sketch below encodes the flow above. It is plain JavaScript and runs in Node.js. Use it as a checklist, not as a replacement for judgment.
function chooseFormat({ needsEditing, needsTransparency, isPhoto }) {
if (needsEditing) return "PSD";
if (needsTransparency) return "PNG";
return isPhoto ? "JPEG" : "PNG";
}
const jobs = [
{ name: "Client master", needsEditing: true, needsTransparency: false, isPhoto: true },
{ name: "Blog photo", needsEditing: false, needsTransparency: false, isPhoto: true },
{ name: "Logo", needsEditing: false, needsTransparency: true, isPhoto: false },
{ name: "Screenshot", needsEditing: false, needsTransparency: false, isPhoto: false }
];
for (const job of jobs) {
console.log(job.name + ": " + chooseFormat(job));
}It prints Client master: PSD, Blog photo: JPEG, Logo: PNG, and Screenshot: PNG.
A workflow that avoids most mistakes
- Create or open the file and save a PSD master immediately.
- Work in layers, using smart objects for anything you may resize.
- Save the master with Save as you go.
- When a deliverable is needed, produce it with Export As or Save a Copy. Check the profile, the dimensions, and the quality setting.
- Open the exported file and look at it at 100 percent. Check edges, gradients, and transparency.
- Name files by purpose, for example
banner-master.psdandbanner-web.jpg, so you never mistake a delivered copy for the master.
Exercise
A designer must deliver a logo with a see-through background for a website, plus keep it editable for later changes. Which files should they produce, and which commands should they use?
Show answer
Keep a layered PSD master, saved with Save or Save As. For the website, make a PNG copy with Export As or Save a Copy, so transparency is kept and the open document remains the PSD. The logo layer must not be a locked Background layer. A JPEG would fill the transparent area with a matte color.
Exercise
A photographer exports a 16-bit, wide-gamut photo as JPEG for a blog and sees dull colors in some browsers. What likely went wrong, and what should they do?
Show answer
JPEG is 8-bit, so the file was converted from 16-bit. The wide-gamut profile was probably not converted to sRGB, and some viewers ignore or mishandle it. The photographer should convert to sRGB (or use Export As with Convert to sRGB), scale to the display size, and re-export from the master.