File Format Guide

RAW vs JPEG

Understanding file formats is crucial for maximizing image quality and editing flexibility. Learn the technical differences, advantages, and when to use each format.

Every digital camera offers at least two file format options: RAW and JPEG. While JPEG is convenient and universally compatible, RAW files provide maximum image quality and editing flexibility. Understanding the differences helps you make informed decisions about which format to use for different shooting situations.

Think of it this way: JPEG is like buying a finished meal, while RAW is buying fresh ingredients. JPEG is ready to eat (use) immediately, but RAW gives you complete control over how the final dish (image) is prepared.

Quick Comparison

RAW Format

  • Maximum image quality
  • Full editing flexibility
  • Non-destructive editing
  • 12-14 bit color depth
  • Large file sizes (20-40 MB)
  • Requires processing software
  • Slower shooting speeds

JPEG Format

  • Small file sizes (3-6 MB)
  • Ready to share immediately
  • Universal compatibility
  • Fast shooting speeds
  • 8-bit color depth only
  • Lossy compression
  • Limited editing latitude

What is RAW?

A RAW file contains the unprocessed data directly from your camera's sensor. It's called "RAW" because the data hasn't been processed, compressed, or manipulated in any way—it's the raw sensor information.

When you shoot RAW, your camera records all the data it captured without applying any sharpening, noise reduction, contrast, or color adjustments. This gives you maximum control over the final image during post-processing.

Technical Note:

RAW files are typically 12-bit or 14-bit, meaning they can capture 4,096 to 16,384 shades per color channel (compared to JPEG's 256 shades). This translates to 68 billion to 4 trillion possible colors versus JPEG's 16.8 million.

Common RAW File Extensions

  • .CR3, .CR2 — Canon cameras
  • .NEF — Nikon cameras
  • .ARW — Sony cameras
  • .RAF — Fujifilm cameras
  • .ORF — Olympus cameras
  • .DNG — Digital Negative (Adobe's universal RAW format)

What is JPEG?

JPEG (Joint Photographic Experts Group) is a compressed image format that has been processed and optimized by your camera. When you shoot JPEG, the camera applies all your settings—white balance, sharpening, contrast, saturation, and noise reduction—then compresses the file to save space.

The JPEG format uses lossy compression, meaning some image data is permanently discarded to reduce file size. While the compression is sophisticated and often imperceptible, it does limit how much you can adjust the image later.

Why JPEG Compression Matters:

JPEG compression works by grouping similar pixels together and discarding subtle variations. This is why heavily edited JPEGs can show "banding" or "posterization"—there simply isn't enough color data left to create smooth gradients.

Technical Differences

Bit Depth & Color Information

RAW (12-14 bit)

68 billion to 4 trillion possible colors • Smooth gradients • Maximum shadow/highlight recovery

JPEG (8-bit)

16.8 million colors • Risk of banding in gradients • Limited recovery range

File Size & Storage

RAW

20-40 MB per image (varies by camera) • ~250-500 images per 16GB card • Requires more storage

JPEG

3-6 MB per image (varies by settings) • ~2,500-5,000 images per 16GB card • Storage efficient

Processing Speed & Buffer

RAW

Slower burst speeds • Fills buffer quickly • Longer write times to memory card

JPEG

Faster burst speeds • Extended burst shooting • Quick write times

Post-Processing Workflow

RAW

Requires processing software (Lightroom, Capture One) • More time per image • Non-destructive editing

JPEG

Ready to use immediately • Quick editing possible • Destructive editing (degrades with each save)

Editing Flexibility: Where RAW Shines

The real advantage of RAW becomes apparent when you need to make significant adjustments to your images. Here are scenarios where RAW provides dramatically better results:

Exposure Recovery

RAW files can recover 2-4 stops of underexposure and 1-2 stops of overexposure with minimal quality loss.

JPEG: Limited to about 1 stop of recovery before severe quality degradation appears

White Balance Correction

RAW files allow complete white balance adjustment without quality loss—change from tungsten to daylight instantly.

JPEG: White balance is "baked in" and can only be approximated with color shifts

Shadow & Highlight Detail

RAW preserves all sensor data in shadows and highlights, allowing extensive recovery of detail.

JPEG: Clipped highlights are pure white and lost; crushed shadows lose detail permanently

Color Grading & Toning

12-14 bit color depth provides smooth gradients and transitions, even with extreme color adjustments.

JPEG: 8-bit depth can show banding and posterization with heavy color adjustments

When to Use Each Format

Shoot RAW When:

  • Image quality is paramount

    Professional work, portfolio pieces, fine art

  • Lighting is challenging

    High contrast scenes, mixed lighting, difficult white balance

  • Extensive editing planned

    Commercial work, compositing, heavy retouching

  • You need maximum recovery

    Weddings, events where you can't reshoot

  • Color accuracy matters

    Product photography, fashion, portraits

Shoot JPEG When:

  • Speed is essential

    Sports, action, wildlife with long bursts

  • Immediate sharing needed

    Social media, news, quick turnaround events

  • Storage is limited

    Long trips, backup limitations, small memory cards

  • Exposure is perfect

    Controlled studio lighting, consistent conditions

  • No editing intended

    Snapshots, documentation, archival work

RAW + JPEG: The Best of Both Worlds

Most cameras allow you to shoot RAW + JPEG simultaneously. This gives you the flexibility of RAW files while having immediately usable JPEGs for quick sharing.

Common Strategies:

RAW + Small JPEG

Use small JPEGs for quick previews and sharing, RAW for final edits

RAW + Medium JPEG

Balance between quality and file size—JPEGs good for most uses

RAW + Large Fine JPEG

Maximum flexibility, but doubles storage requirements

Storage Consideration:

Shooting RAW + JPEG requires significantly more storage space and slows down burst shooting. Make sure you have fast memory cards (UHS-II or better) and adequate storage capacity.

Workflow Recommendations

1

Beginner

Start with JPEG to learn fundamentals without workflow complexity.

Once comfortable with exposure and composition, transition to RAW to unlock creative potential.

2

Enthusiast

Shoot RAW for important work, JPEG for casual shooting and quick sharing.

Learn to process RAW files efficiently to make the extra workflow time worthwhile.

3

Professional

Default to RAW for all client work, with JPEG as backup or for immediate delivery.

Invest in fast storage, backup systems, and streamlined RAW processing workflows.

Key Takeaways

RAW is Best For:

  • • Professional and portfolio work
  • • Challenging lighting conditions
  • • Images requiring extensive editing
  • • Maximum quality and flexibility
  • • Color-critical work

JPEG is Best For:

  • • Fast-paced action shooting
  • • Immediate sharing needs
  • • Storage-limited situations
  • • Perfect exposure conditions
  • • Minimal post-processing

Bottom Line: If you have the storage space and time to process files, shoot RAW for important work. It gives you the maximum creative control and quality. For everything else, JPEG is perfectly capable and more convenient.