

Complete guide to camera RAW formats. Learn about CR2, NEF, ARW, DNG, and how to convert, edit, and store RAW photos for maximum quality and flexibility.
RAW Image Formats Explained: The Photographer's Guide
RAW files are digital photography's equivalent to film negatives - they contain all the data your camera sensor captured, giving you maximum flexibility in post-processing. This comprehensive guide covers everything you need to know about RAW formats in 2025.
What is a RAW File?
A RAW file contains unprocessed data directly from your camera's sensor, before any compression or processing is applied.
RAW vs JPEG: The Key Differences
| Feature | RAW | JPEG |
|---|---|---|
| File size | 25-50 MB | 3-8 MB |
| Bit depth | 12-14 bit (4,096-16,384 colors per channel) | 8 bit (256 colors per channel) |
| Dynamic range | Full sensor capability (~14 stops) | Compressed (~8 stops) |
| White balance | Adjustable after capture | Baked in |
| Exposure adjustment | ±3-5 stops without quality loss | ±1 stop before degradation |
| Processing | Requires RAW converter | Ready to use |
| Editing flexibility | Non-destructive, unlimited | Destructive, quality degrades |
Analogy: RAW is like having all the ingredients to cook a meal. JPEG is the finished dish - you can't un-cook it.
Common RAW Formats by Manufacturer
Canon: .CR2, .CR3, .CRW
CR2 (Canon Raw 2):
- Used by most Canon DSLRs
- 12-14 bit depth
- Typical size: 25-35 MB
CR3 (Canon Raw 3):
- Newer format (2018+)
- Used by mirrorless cameras (EOS R series)
- HEIF-based container
- Smaller files with same quality
- Typical size: 20-30 MB
CRW (Canon Raw):
- Legacy format (pre-2004)
- Rarely seen today
Popular Canon cameras:
- Canon EOS R5, R6: CR3
- Canon 5D Mark IV, 90D: CR2
- Canon EOS R10, R7: CR3
Nikon: .NEF, .NRW
NEF (Nikon Electronic Format):
- Standard Nikon RAW format
- 12-bit or 14-bit depth
- Compressed, lossless compressed, or uncompressed
- Typical size: 20-40 MB
Compression types:
Lossless compressed (recommended)
- 20-40% smaller than uncompressed
- No quality loss
- Default on most Nikon cameras
Compressed
- 40-55% smaller
- Minimal quality loss
- Slight artifacts in extreme shadows
Uncompressed
- Largest files
- No advantage over lossless compressed
- Not recommended
Popular Nikon cameras:
- Nikon Z9, Z8: NEF
- Nikon D850, D780: NEF
- Nikon Z6 III, Z5: NEF
Sony: .ARW, .SR2, .SRF
ARW (Sony Raw):
- Standard Sony RAW format
- 14-bit depth
- Compressed or uncompressed
- Typical size: 25-45 MB
Compression options:
- Compressed: Smaller files, slight quality trade-off
- Uncompressed: Larger files, maximum quality
- Lossless compressed: Best of both (newer cameras)
Popular Sony cameras:
- Sony A7 IV, A7R V: ARW
- Sony A9 III: ARW
- Sony ZV-E1: ARW
Fujifilm: .RAF
RAF (Fuji Raw):
- Unique X-Trans sensor data
- Requires specialized demosaicing
- 14-bit depth
- Typical size: 25-50 MB
Important: Fujifilm RAW files benefit from manufacturer software (Capture One, Lightroom profiles) due to unique sensor design.
Popular Fujifilm cameras:
- Fujifilm X-T5, X-H2S: RAF
- Fujifilm GFX 100S: RAF (larger)
- Fujifilm X-S20: RAF
Olympus/OM System: .ORF
ORF (Olympus Raw Format):
- Micro Four Thirds sensors
- 12-bit depth
- Typical size: 15-25 MB (smaller due to sensor size)
Popular cameras:
- OM System OM-1: ORF
- Olympus E-M1 Mark III: ORF
Panasonic: .RW2, .RAW
RW2 (Panasonic Raw 2):
- Standard Panasonic format
- 12-14 bit depth
- Typical size: 15-30 MB
Popular cameras:
- Panasonic Lumix S5 II: RW2
- Panasonic GH6: RW2
Pentax: .PEF, .DNG
PEF (Pentax Electronic Format):
- 14-bit depth
- Typical size: 20-30 MB
Leica: .DNG, .RWL
Many Leica cameras use Adobe DNG (see below).
Adobe DNG: The Universal RAW Format
DNG (Digital Negative):
- Open-source RAW format by Adobe
- Can contain any camera's RAW data
- Widely supported
- Typical size: 20-50 MB
Benefits of DNG
Universal compatibility
- One format for all cameras
- Guaranteed long-term support
Built-in preview
- Fast browsing without rendering
Metadata storage
- Edits stored in file (no sidecar XMP)
Smaller file sizes
- Lossless compression
- 15-20% smaller than manufacturer formats
Future-proof
- Open standard, won't become obsolete
Converting RAW to DNG
Using Adobe DNG Converter (free):
- Download from Adobe website
- Select source folder with RAW files
- Choose destination
- Select compression and settings
- Convert
Using Lightroom:
File → Library → Convert Photos to DNG
Settings:
☑ Delete originals after conversion
☑ Embed fast load data
☑ Use lossy compression: JPEG quality 90-95
Using command line:
# Adobe DNG Converter (macOS)
"/Applications/Adobe DNG Converter.app/Contents/MacOS/Adobe DNG Converter" \
-c -p2 -d output_folder input_folder/*.CR2
# ExifTool
exiftool -r -ext CR2 -o .dng -@ dng.txt ./
# dcraw + ImageMagick
for raw in *.CR2; do
dcraw -T "$raw"
convert "${raw%.CR2}.tiff" "${raw%.CR2}.dng"
done
File Sizes Comparison
Tested with 24MP camera (6000×4000 pixels):
| Format | Size | Compression | Bit Depth |
|---|---|---|---|
| CR2 (Canon 5D IV) | 28 MB | Lossless | 14-bit |
| CR3 (Canon R6) | 24 MB | Lossless | 14-bit |
| NEF (Nikon D850) | 47 MB | Uncompressed | 14-bit |
| NEF (Nikon D850) | 28 MB | Lossless | 14-bit |
| ARW (Sony A7 III) | 24 MB | Compressed | 14-bit |
| RAF (Fuji X-T4) | 28 MB | Lossless | 14-bit |
| DNG (from CR2) | 23 MB | Lossless | 14-bit |
| JPEG (max quality) | 6 MB | Lossy | 8-bit |
| TIFF (uncompressed) | 70 MB | None | 16-bit |
Storage requirements (1,000 photos):
- RAW: 25-35 GB
- JPEG: 5-8 GB
- Both: 30-43 GB
Editing RAW Files: Software Options
Adobe Lightroom Classic ($9.99/month)
Pros:
- Industry standard
- Excellent RAW processing
- Non-destructive editing
- Catalog management
- Supports all camera RAW formats
Cons:
- Subscription required
- Can be slow with large libraries
Best for: Professional photographers, serious hobbyists
Capture One ($180/year or $300 one-time)
Pros:
- Superior color grading
- Excellent tethering
- Faster than Lightroom
- Per-camera color profiles
Cons:
- Steeper learning curve
- Expensive
Best for: Commercial photographers, studio work
DxO PhotoLab ($139-$219 one-time)
Pros:
- Best-in-class noise reduction
- Automatic lens corrections
- RAW file optimization
Cons:
- Non-standard workflow
- Limited ecosystem
Best for: Low-light and high-ISO photography
Darktable (Free, open-source)
Pros:
- Completely free
- Powerful RAW processing
- Non-destructive workflow
- Supports most RAW formats
Cons:
- Complex interface
- Steeper learning curve
Best for: Linux users, budget-conscious photographers
RawTherapee (Free, open-source)
Pros:
- Free and open-source
- Advanced color correction
- Supports all major formats
Cons:
- Less intuitive than commercial options
Best for: Advanced users who want control
ON1 Photo RAW ($99.99/year or $199.99 one-time)
Pros:
- Photoshop alternative
- Local adjustments
- Effects and presets
Cons:
- Slower performance
- Smaller user community
Best for: Budget-conscious professionals
Converting RAW to Other Formats
RAW to JPEG
Using dcraw (command line):
# Basic conversion
dcraw -w -T -q 3 input.CR2
convert input.tiff -quality 95 output.jpg
# Batch conversion with quality 95
for raw in *.CR2; do
dcraw -w -T -q 3 "$raw"
convert "${raw%.CR2}.tiff" -quality 95 "${raw%.CR2}.jpg"
rm "${raw%.CR2}.tiff"
done
Using ImageMagick:
# Direct RAW to JPEG (requires dcraw delegate)
magick input.CR2 -quality 95 output.jpg
# Batch
magick mogrify -format jpg -quality 95 *.CR2
Using Python (rawpy):
import rawpy
import imageio
# Open RAW file
with rawpy.imread('input.CR2') as raw:
# Process to RGB
rgb = raw.postprocess()
# Save as JPEG
imageio.imsave('output.jpg', rgb, quality=95)
Using Lightroom:
1. Select photos
2. File → Export
3. Format: JPEG
4. Quality: 90-95
5. Color Space: sRGB
6. Export
RAW to TIFF (Lossless)
For archival or further editing:
# dcraw to 16-bit TIFF
dcraw -T -4 input.CR2
# With color correction
dcraw -T -4 -w input.CR2
Using exiftool:
exiftool -b -JpgFromRaw input.CR2 > preview.jpg
RAW to PNG
# Using ImageMagick
magick input.CR2 -quality 100 output.png
# Using dcraw + convert
dcraw -T -w input.CR2
convert input.tiff -quality 100 output.png
Workflow Recommendations
Workflow 1: Professional (Lightroom + DNG)
- Import RAW files to Lightroom
- Convert to DNG during import (checkbox)
- Edit in Lightroom (non-destructive)
- Export to JPEG for delivery
- Archive DNG files (smaller than manufacturer RAW)
Storage:
- Working files: Fast SSD
- Archive: External HDD or cloud
Workflow 2: Budget-Conscious (Darktable)
- Import RAW files to Darktable
- Edit with Darktable's tools
- Export to JPEG/TIFF
- Archive original RAW files
Storage:
- All files on external HDD
- Use portable SSD for active projects
Workflow 3: Hybrid (Lightroom + Photoshop)
- Import to Lightroom
- Basic adjustments in Lightroom
- Advanced editing in Photoshop (Edit in Photoshop)
- Save as PSD/TIFF
- Export final JPEG
- Archive RAW + PSD files
Workflow 4: Minimalist (In-camera JPEG + RAW backup)
- Shoot RAW + JPEG
- Use JPEG for 90% of photos
- Open RAW only when JPEG needs major correction
- Archive RAW files, delete unused after 6 months
Storage & Backup Strategy
Storage Requirements
Typical photographer shooting:
- 500 photos/month × 25 MB = 12.5 GB/month
- Annual: 150 GB/year
- 5 years: 750 GB
Recommended Storage Setup
Working files (current 6 months):
- Internal SSD or fast external SSD
- Quick access for editing
Archive (everything):
- External HDD (4-8 TB)
- RAID for redundancy
Backup:
- Cloud storage (Backblaze, Google Drive)
- Second external HDD (off-site)
Backup Best Practices
3-2-1 Rule:
- 3 copies of your data
- On 2 different storage types
- With 1 copy off-site
Example setup:
- Primary: Internal SSD (working files)
- Backup 1: External HDD (complete archive)
- Backup 2: Cloud storage (critical files)
Automated backup script:
#!/bin/bash
# backup_photos.sh
SOURCE="/Users/me/Photos/RAW"
BACKUP1="/Volumes/ExternalHDD/Photo_Backup"
BACKUP2="/Volumes/CloudSync/Photos"
# Backup to external HDD
rsync -av --progress "$SOURCE/" "$BACKUP1/"
# Selective backup to cloud (last 6 months only)
find "$SOURCE" -mtime -180 -type f | rsync -av --files-from=- / "$BACKUP2/"
echo "Backup complete: $(date)"
Performance Optimization
Speeding Up RAW Processing
1. Generate Smart Previews (Lightroom)
Library → Previews → Build Smart Previews
- Faster editing on large files
- Enables editing without originals
2. Increase Cache Size
Lightroom: Preferences → Performance → Camera Raw Cache
Set to 20-50 GB
3. Use SSD for Catalog
- Store Lightroom catalog on SSD
- 10x faster than HDD
4. Optimize catalog regularly
File → Optimize Catalog
Run monthly for large libraries
5. GPU Acceleration
Preferences → Performance → Use Graphics Processor
Enable for faster rendering
Common Problems & Solutions
Problem 1: "Camera not supported"
Cause: Camera too new for software
Solution:
- Update RAW processing software
- Convert to DNG with Adobe DNG Converter
- Use manufacturer software as bridge
Problem 2: "RAW files are huge"
Solution:
- Convert to DNG (15-20% smaller)
- Use compressed RAW option in camera
- Archive old projects to compressed format
Problem 3: "Editing is too slow"
Solution:
- Generate smart previews
- Upgrade to SSD
- Increase RAM (16GB minimum, 32GB ideal)
- Use proxy workflow for 4K video
Problem 4: "Colors look different in different apps"
Cause: Different demosaicing algorithms
Solution:
- Stick to one primary app for consistency
- Use camera profiles matched to your software
- Calibrate monitor with ColorChecker
Problem 5: "Running out of storage"
Solution:
- Delete obvious rejects immediately
- Convert to DNG for smaller files
- Archive old projects to cloud or external HDD
- Consider culling aggressively (keep only best 10-20%)
RAW File Recovery
If RAW files are corrupted:
1. Try opening in different software
- Lightroom, Capture One, DxO, RawTherapee
- One may handle corruption better
2. Use RAW recovery software
- PhotoRec (free, open-source)
- Stellar Photo Recovery
- Recuva
3. Extract embedded JPEG
# Most RAW files contain embedded preview
exiftool -b -PreviewImage input.CR2 > recovered.jpg
4. Professional recovery service
- Last resort for critical photos
- $100-1000+ depending on complexity
Future of RAW Formats
Trends in 2025
1. Higher bit depth
- 16-bit RAW becoming standard
- More color information
2. Computational photography integration
- Multi-frame RAW files
- HDR and focus stacking in RAW
3. AI-enhanced RAW processing
- Automatic adjustments
- Intelligent noise reduction
- Sky replacement in RAW
4. Cloud-based RAW editing
- Adobe cloud processing
- Collaborate on RAW files
- Edit from anywhere
5. Smaller file sizes
- Better compression algorithms
- Lossless compression standard
Conclusion: Should You Shoot RAW?
Shoot RAW if:
- You edit photos seriously
- You need maximum quality
- You want flexibility in post-processing
- You have adequate storage
- You're a professional or serious hobbyist
Shoot JPEG if:
- You want photos ready to share immediately
- Storage is limited
- You don't edit photos
- You're happy with in-camera processing
- Speed is more important than flexibility
Best of both:
- Shoot RAW + JPEG simultaneously
- Use JPEG for quick sharing
- Keep RAW for important photos that need editing
- Delete unused RAW files after 6-12 months
Storage strategy:
- RAW: 25-35 GB per 1,000 photos
- Invest in 2-4 TB external HDD ($80-150)
- Cloud backup for critical photos
- Delete obvious failures immediately
Need to convert RAW files? Use our free RAW converter supporting CR2, NEF, ARW, RAF, DNG, and all major camera formats. Convert to JPEG, PNG, or TIFF in seconds!
About the Author

1CONVERTER Technical Team
Official TeamFile Format Specialists
Our technical team specializes in file format technologies and conversion algorithms. With combined expertise spanning document processing, media encoding, and archive formats, we ensure accurate and efficient conversions across 243+ supported formats.
📬 Get More Tips & Guides
Join 10,000+ readers who get our weekly newsletter with file conversion tips, tricks, and exclusive tutorials.
🔒 We respect your privacy. Unsubscribe at any time. No spam, ever.
