File formats

File Formats: JPEG and RAW

In digital photography, there are two main image file formats — JPEG and RAW. They differ in how data is recorded, processed, and stored, which affects image quality and editing flexibility. Understanding the difference between them is essential for anyone aiming to work professionally with photographs.

1. JPEG Format

JPEG (Joint Photographic Experts Group) is the most common image format. Its main feature is lossy compression, meaning that after capturing sensor data, the camera automatically processes the image (adjusting contrast, saturation, sharpness, white balance), compresses it, and permanently discards part of the information that is deemed unnecessary.

Advantages of JPEG:

  • Small file size. Images take up much less storage space, which is convenient for archiving and fast sharing.

  • Ready-to-use output. The camera applies all basic processing, so the photo can be immediately published, printed, or sent to a client.

  • Compatibility. JPEG files open on virtually any device or program without conversion.

Disadvantages of JPEG:

  • Quality loss. Compression removes part of the original data, especially in highlights and shadows.

  • Limited dynamic range. Lost detail cannot be restored in overexposed or dark areas.

  • Reduced editing flexibility. Adjusting exposure, color, or white balance quickly degrades image quality.

Conclusion:

JPEG is suitable for quick work, such as event coverage, documentary photography, or social media posting, where minimal editing is required. However, it is not ideal for professional or artistic projects where full creative control is needed.

2. RAW Format

RAW — meaning “unprocessed” — is essentially a digital negative, preserving the full range of data captured by the camera sensor without compression or automatic processing. Each camera brand has its own RAW version (.CR2, .NEF, .ARW, .RAF, etc.), but the concept is the same: pure sensor data that can be developed later.

Advantages of RAW:

  • Maximum quality. All tonal and color details are preserved without loss.

  • High dynamic range. Highlights and shadows can be recovered easily.

  • Full control in editing. White balance, exposure, contrast, and colors can be adjusted precisely without image degradation.

  • Non-destructive workflow. Original data remains intact; edits are stored as separate instructions.

Disadvantages of RAW:

  • Large file size. One RAW photo may be 5–10 times larger than a JPEG.

  • Requires post-processing. RAW images appear flat and unprocessed until edited in software such as Adobe Lightroom, Capture One, or Camera Raw.

  • Limited compatibility. Specialized software is needed to open and process these files.

Conclusion:

RAW is the standard format for professionals and students learning color correction and exposure control. It offers total creative freedom and the highest possible image quality.

3. Comparison between JPEG and RAW

Feature JPEG RAW
Compression type Lossy Lossless
Data content Limited Full
Dynamic range Narrower Wider
In-camera processing Automatic Minimal
Editing flexibility Low High
File size Small Large
Recommended use Everyday, technical Professional, educational

 

4. Recommendations

For learning and professional photography, always shoot in RAW — it preserves all the captured information and allows deep control over light, tone, and color. JPEG is useful for casual or technical purposes, such as quick snapshots, online sharing, or documentation.