Page updated: 27 February 2026
Digital Photo Image Formats Explained
Understanding JPEG, RAW, PSD, PNG, TIFF, WEBP and AVIF for Photoshop and Digital Photography
When editing images in Photoshop, there are several choices for saving or exporting your work. Each image format behaves differently, and understanding these differences helps you avoid losing quality, preserve your layers, and choose the right format for the task.
Every file has a filename, a full stop, and a file extension. Extensions such as .jpg, .psd, .tif, or .webp tell your computer what type of file it is and which software can open it.
Quick Summary of Common Image Formats
- JPEG / JPG – Default format for phones and many cameras. Universal. Compressed.
- PSD – Photoshop’s native format. Preserves layers, masks, text, and adjustments. Not compressed.
- RAW – Camera sensor data. Maximum quality. Requires software and time to edit. Not compressed.
- DNG – Adobe’s RAW format. Can be compressed or uncompressed.
- PNG – Supports transparency. Ideal for graphics and web use.
- TIFF / TIF – High‑quality format. Supports layers. Compressed or uncompressed.
- WEBP – Modern compressed format. Smaller files at similar quality to JPEG. Supports transparency.
- AVIF – Even smaller files than WEBP. Ideal for websites. Supports transparency.
Which Image Format Should You Use?
| Format | Best Use | Key Characteristics |
|---|---|---|
| jpeg / jpg | Everyday photos, sharing, web use. | Compressed, small files, no layers, processed in‑camera, quality loss with repeated saving. |
| psd | Editing in Photoshop. | Preserves all layers, masks, text, and adjustments. No compression. Large files. |
| raw | Maximum quality and flexibility. | Unprocessed sensor data, huge tonal range, ideal for highlight recovery, requires editing. |
| dng | Standardised RAW alternative. | Adobe format, optional compression, may lose proprietary data, some tools don’t work on DNG. |
| png | Graphics, logos, transparency. | Lossless, supports transparency, larger than JPEG, ideal for web graphics. |
| tiff / tif | High‑quality archiving or layered files. | Supports layers, huge files, compressed or uncompressed, often larger than PSD. |
| webp | Modern websites. | Small files, high quality, supports transparency, widely supported in browsers. |
| avif | High‑performance web images. | Even smaller files than WEBP, excellent quality, modern browser support, ideal for speed. |
JPEG / JPG
Images taken on phones are almost always saved in JPEG format. Cameras can save in JPEG, RAW, or both simultaneously. JPEGs are convenient and universal, but they come with important limitations that beginners should understand.
JPEG images are compressed
Every JPEG is compressed at the moment it’s captured. Compression keeps file sizes small, which is useful for storage and sharing, but it reduces image quality. The more compression applied, the smaller the file and the lower the quality.
If you edit a JPEG in Photoshop and save it again as a JPEG, you’ll be asked to choose a quality setting. Higher quality means less compression and a larger file. Lower quality means more compression and more visible loss.
Repeatedly saving a JPEG gradually reduces quality — like photocopying a photocopy. At first you may not notice, but after several saves the degradation becomes visible, especially at lower quality settings.
JPEG does not support layers
If you save a layered Photoshop file as a JPEG, all visible layers are flattened into one. Hidden layers are discarded. If you’ve spent time editing, always save a PSD first to preserve your layers, then export a JPEG version.
JPEGs are processed in‑camera
When you take a JPEG, your camera or phone applies processing such as:
- White balance / colour temperature
- Contrast
- Sharpening
- Colour tone
- Monochrome settings
- Highlight priority
These settings are “baked in” and cannot be undone. RAW files allow you to change them later.
Photoshop PSD Format
PSD (Photoshop Document) is Photoshop’s native format. It preserves everything you do in Photoshop — layers, masks, text, layer styles, and more.
When you first open an image in Photoshop, it doesn’t matter whether it began as a JPEG, RAW, or something else. What matters is how you save it after editing. If you add layers, Photoshop will automatically suggest saving as a PSD. This is ideal and recommended.
Good editing practice preserves the original. Saving your working file as a PSD ensures you can return to it later without losing quality or layers.
Saving a JPEG version from a PSD
- Save your work as a PSD first.
- Choose File > Save As and select JPEG.
- Append the filename to avoid overwriting your original JPEG.
- Choose an appropriate quality setting. For best quality, select the highest number.
Filename tip: Keep the same filename when saving as PSD. The extension changes automatically, keeping your archive tidy and making it easy to see which files belong together.
RAW Format
Most cameras allow you to shoot JPEG, RAW, or both. RAW files contain unprocessed sensor data and offer far more flexibility than JPEGs.
A JPEG contains 256 tones per colour channel. A 12‑bit RAW contains 4,096 tones, and a 14‑bit RAW contains 16,384 tones. This extra data allows you to recover detail in highlights and shadows that would be lost in a JPEG.
RAW files are larger, but memory cards and hard drives are inexpensive. The quality benefits are significant, especially for landscapes or high‑contrast scenes.
RAW files cannot be edited directly. Lightroom stores your edits in a sidecar file or within the RAW file itself. The original RAW is always preserved.
Lightroom’s excellent Denoise tool currently works only on RAW files, not JPEGs.
DNG
DNG (Digital Negative) is Adobe’s attempt to standardise RAW formats. Each camera manufacturer has its own proprietary RAW format, which may become obsolete over time.
DNG can be lossless or lossy. Lossless keeps all data; lossy compresses the file to roughly the size of a high‑quality JPEG.
However, some proprietary RAW data may be lost or altered during conversion. Some Lightroom tools — including Denoise — currently work only on original RAW files.
For this reason, it’s safest to keep your original RAW files.
PNG
PNG (Portable Network Graphics) is a raster format that supports transparency and semi‑transparency. It’s ideal for graphics, logos, and web elements. PNG is lossless, so files are larger than JPEGs.
TIFF / TIF
TIFF (Tagged Image File Format) supports layers and can be compressed or uncompressed. Some people prefer TIFF over PSD, but TIFF files are often significantly larger — sometimes 20–25% bigger. For most users, PSD is simpler and smaller.
WEBP
WEBP, developed by Google, offers smaller file sizes than JPEG at similar quality. It supports transparency and is ideal for websites. All major browsers support WEBP.
Lightroom (as of February 2026) supports importing, viewing, and editing WEBP, but not exporting. A batch script can generate WEBP files alongside JPEGs — a practical workflow for web publishing.
AVIF
AVIF is a modern, highly efficient format that produces even smaller files than WEBP at similar or better quality. It supports transparency and is now supported by major browsers.
Photoshop added AVIF support in May 2025. Lightroom supports both importing and exporting AVIF files.