Skip to content
Tutorials Center
My learning

Topics

Lesson 4 of 37 ยท Getting Started

File Formats: PSD, JPEG, PNG, TIFF and More

Compare PSD, JPEG, PNG, TIFF, GIF, WebP and raw files, learn lossy versus lossless compression, and choose the right format for web, print and archive.

A file format decides what a saved image can contain (layers? transparency? 16-bit colour?) and how much quality is thrown away to make it small. Picking the right one is part of the job, and the wrong one can quietly cost you layers or quality. This lesson covers the formats you meet in Photoshop and when to use each.

Photoshop itself does not run on this site, so the menu paths are for your own copy. The stand-in at the end encodes the choosing rules as code.

Lossy and lossless compression

Raw pixel data is large, so most formats compress it.

  • Lossless compression shrinks the file and restores every pixel exactly (PNG, TIFF with LZW or ZIP, PSD). Like a zip file.
  • Lossy compression discards detail the eye is unlikely to miss, giving much smaller files (JPEG, lossy WebP). Quality drops each time you re-save, which is called generation loss.

The practical rule: keep a lossless master, and produce lossy copies for delivery.

The formats you will use

PSD (Photoshop Document) is Photoshop's native format. It keeps everything: layers, masks, adjustment layers, Smart Objects, text, effects, channels, paths and 16/32-bit depth. Save a PSD as your working master. Files can be huge, and other programs may show only a flattened preview. PSB (Large Document Format) is the same idea for files over 2 GB or 30,000 pixels on a side.

JPEG (.jpg) is the standard for photographs on the web and in email. It is lossy, 8-bit, has no transparency and flattens all layers. Choose a quality level that balances size and artefacts. It suits photographs but handles flat colour, sharp text and screenshots badly (fringing, "mosquito noise").

PNG is lossless, supports full alpha transparency (soft edges) and 8-bit or 16-bit RGB. Best for logos, screenshots, UI graphics and images with transparency. Photographs in PNG are often much bigger than JPEG. PNG-8 is a limited-palette variant.

GIF has a 256-colour palette and simple on/off transparency, and supports animation. Mostly replaced by PNG for stills and by video or WebP for animation, but still common for small animations.

WebP and AVIF are modern web formats that give smaller files than JPEG or PNG at similar quality, with transparency support. Browser support is good today, but check where your images will be opened (email clients and older software lag behind). Recent Photoshop versions can open and save WebP; AVIF needs a plug-in or an export route depending on version.

TIFF is a flexible lossless format popular in printing and archiving. It can keep layers (making files bigger), 16-bit depth and CMYK. Choose it for print workflows and when a client asks for it.

Raw (camera raw) files such as CR3, NEF or ARW are not "an image yet": they hold the sensor data and need developing. Photoshop opens them in the Camera Raw plug-in before you edit. DNG is an open raw format.

PDF can hold Photoshop images, layers and vector text for print and review. SVG is a vector format that Photoshop can export from shape layers, though complex designs are better made in a vector tool.

Master versus delivery

PSD Layers kept. Your working master.
JPEG Small photos for web and email.
PNG Sharp graphics and transparency.
TIFF Print and archive, lossless.

Never overwrite the master with a lossy copy.

1 / 2

Save, Save As and Export

Photoshop has several ways out:

  • File > Save (Ctrl/Cmd + S) saves in the document's current format, normally PSD.
  • File > Save As (Ctrl/Cmd + Shift + S) saves a copy in another format, with format options (JPEG quality, TIFF compression...). Saving to JPEG flattens the file you see in the copy; keep the PSD open or saved too.
  • File > Export > Export As (Ctrl/Cmd + Alt/Option + Shift + W) is built for the web. You choose PNG, JPG, GIF, SVG or WebP, set quality and size, and preview before exporting. It leaves your PSD untouched.
  • File > Export > Quick Export as PNG (or your chosen format) saves instantly with the last settings.
  • Save a Copy (Ctrl/Cmd + Alt/Option + S) writes a copy without changing which file is open.

Under Edit > Preferences > File Handling (Photoshop > Settings on macOS) you can set whether Photoshop saves a background copy, and enable Maximize PSD and PSB File Compatibility, which stores a flattened preview so other programs can read the file. It makes files larger.

Name files so the order is obvious: poster-master.psd, poster-web-1200.jpg, poster-print.tif. Never delete the master after delivering.

What each format keeps

Format Layers Transparency Compression Typical use
PSD / PSB Yes Yes Lossless Master file
JPEG No No Lossy Photos on web, email
PNG No Yes (alpha) Lossless Graphics, UI, logos
GIF No On/off Lossless, 256 colours Simple animation
WebP / AVIF No Yes Lossy or lossless Modern web
TIFF Optional Yes Lossless (or none) Print, archive
PDF Optional Yes Mixed Proofs, print

Why JPEG quality is not linear

JPEG quality (0 to 12 in Photoshop's Save As dialog, 0 to 100 in Export As) controls how aggressively detail is dropped. The size savings are large at first and then small: quality 8 to 10 is often visually close to 12 and far smaller. The stand-in below does not implement JPEG; it just models the typical trade-off using an assumed size curve so that you can see the idea of picking a "sweet spot". The numbers are illustrative only, not measured from Photoshop.

JS Stand-in: quality versus size (illustrative)

Press Run (or Ctrl + Enter) to see the console output here.

No output.

In practice you test: export at 80, compare with 90 at 100% zoom on the areas with fine detail (hair, text, foliage), and keep the smallest version that you cannot tell apart.

A format chooser

This stand-in turns the rules above into a small function. It is a study aid for the decision, not something Photoshop provides.

JS Stand-in: which format should I use?

Press Run (or Ctrl + Enter) to see the console output here.

No output.

Common mistakes

  • Saving only as JPEG and losing the layers. Keep the PSD.
  • Re-saving a JPEG many times. Edit from the PSD or original each time.
  • Using JPEG for logos and text, which causes fuzzy edges. Use PNG.
  • Forgetting the colour profile. Convert to sRGB for the web and tick Embed Color Profile or Convert to sRGB in the export dialog.
  • Sending a PSD to someone without Photoshop. Export a PDF, PNG or JPEG instead.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. Which format should be your working master, keeping layers and effects?

    PSD preserves layers, masks, text, Smart Objects and adjustment layers.
  2. 2. You need a logo with soft, semi-transparent edges for a web page. Which is the best choice?

    PNG is lossless and supports full alpha transparency.
  3. 3. What is generation loss?

    Each lossy re-save discards more detail, so edit from the master and export once.
  4. 4. Which export route is built for the web and leaves your PSD untouched?

    Export As previews the result and writes a separate file in PNG, JPG, GIF, SVG or WebP.

Summary

  • Keep a lossless PSD master; deliver lossy or flattened copies.
  • JPEG for photos, PNG for graphics and transparency, TIFF for print and archive, WebP/AVIF for smaller modern web files.
  • Use Export As for web output, Save As for other copies.
  • Judge JPEG quality by eye at 100% zoom; savings flatten out below the high end.
  • Embed or convert to the right colour profile (sRGB for the web).

Next: A Tour of the Photoshop Workspace