Should you shoot RAW or JPEG for post-processing?
Here's the blunt answer: shoot RAW. Always. If you care about post-processing, RAW gives you the most data to work with. JPEG and HEIF are convenience formats, not editing formats. I'll compare them on three criteria: data depth, recovery latitude, and workflow. Then I'll tell you exactly when each makes sense.
Data Depth: 16-bit vs 8-bit
RAW files are 16-bit images with 4096 tones per color channel, producing over 68 billion colors. JPEG files can have no more than 16 million colors (University of Delaware). That's a 4000x difference in color depth. When you push shadows or pull highlights, JPEG files fall apart fast. Banding appears. Skin tones go plastic. RAW files hold up.
HEIF is a newer format that offers better compression than JPEG, but it's still an 8-bit delivery format. It doesn't compete with RAW for editing. If you're shooting HEIF, you're shooting for convenience, not for post-processing.
So on data depth, RAW wins. No contest.
Recovery Latitude: What You Can Save
RAW contains the maximum amount of data possible by capturing exactly what the sensor recorded when the shutter was pressed (University of Delaware). It can help recover information from blown-out highlights. JPEG cannot. Once a JPEG highlight is clipped, it's gone.
But RAW isn't magic. It cannot rescue an image if the camera settings pushed the tones outside the sensor's range. If the image is underexposed or overexposed to the extent that the sensor captured no data in the highlights or shadows, the RAW file will not contain the information needed to recover it (University of Delaware). So you still need to nail exposure. RAW gives you latitude, not miracles.
How much latitude? That depends on your sensor. In Imatest's InfoDR measurements, larger sensors recorded higher dynamic range than smaller ones. A compact Lumix LX7 measured 21.3 to 39.7 dB, an APS-C Sony A6000 measured 35.8 to 47.4 dB, a full-frame Sony A9 measured 40.4 to 53.9 dB, and a medium-format Pentax 645Z measured 42.5 to 57.2 dB (Imatest). That means a full-frame camera gives you roughly 10 dB more dynamic range than a compact, which translates to more recoverable highlights and shadows. If you shoot a high-contrast scene, that matters.
JPEG and HEIF give you almost no recovery latitude. You need to get it right in-camera.
Workflow: Speed vs Control
JPEG files can be taken into an image editor or used right out of the camera with no developing necessary, and they are smaller than RAW or TIFF files (University of Delaware). HEIF is even smaller. If you're a photojournalist on deadline, JPEG is faster. If you're a sports shooter transmitting images from the sideline, JPEG is practical.
RAW files are developed in a non-destructive way: the development instructions, such as white balance and color temperature settings, are stored in a separate text file, so the original RAW data can be redeveloped any number of times (University of Delaware). That's a huge advantage. You can reinterpret an image years later without losing quality. With JPEG, every edit is destructive unless you work on a copy.
The trade-off is time and storage. RAW files are larger. They require processing. But if you're serious about post-processing, that's the cost of doing business.
The Verdict: RAW Wins for Post-Processing
Here's the bottom line. Shoot RAW if you want maximum control in post. Shoot JPEG or HEIF if you need speed and don't plan to edit heavily. That's the simple rule.
But let's get specific. Imagine you're shooting a landscape at sunset. The sky is bright, the foreground is dark. With JPEG, you either blow out the sky or crush the shadows. With RAW, you can pull the highlights down and lift the shadows. How much? On a full-frame sensor like the Sony A9, you have 40.4 to 53.9 dB of dynamic range (Imatest). That's enough to recover at least a stop or two in each direction. On a compact like the Lumix LX7, you have 21.3 to 39.7 dB. You'll hit the limits faster.
Now imagine you're shooting a wedding. You have 2000 images to deliver. RAW files will take longer to cull and edit. But the couple will thank you when the reception hall's mixed lighting doesn't turn everyone's skin green. RAW lets you fix white balance perfectly because the white balance is just a metadata instruction. JPEG bakes it in.
What about HEIF? It's fine for personal snapshots on your phone. But for any serious post-processing, it's a dead end.
So my recommendation: set your camera to RAW. If you need JPEG for a specific reason, shoot RAW+JPEG. Storage is cheap. Lost detail is not.
When to Break the Rule
There are times when JPEG or HEIF makes sense. If you're shooting a high-volume event and your client needs images immediately, JPEG is faster. If you're shooting video, you're not shooting RAW stills anyway. If you're a beginner who is overwhelmed by editing, JPEG can be a training wheel. But eventually, you'll outgrow it.
One more thing: if you shoot RAW, you must expose properly. RAW cannot save a file where the sensor captured no data. So learn to use your histogram. Expose to the right (ETTR): push the exposure as bright as possible without clipping the highlights, so the histogram piles up toward the right edge, because noise lives in the shadows; you pull the brightness back down in software later (MIT Computational Photography). That's how you maximize your RAW files.
If you're shooting JPEG, ETTR is risky because you can't pull back highlights. So expose more conservatively.
The choice is yours. But if you want the best post-processing results, RAW is the only serious option. Everything else is a compromise.
Sources
- Camera RAW (University of Delaware) - https://www1.udel.edu/cookbook/still-video/aboutraw.html
- InfoDR results (Imatest) - https://www.imatest.com/docs/infodr-results/
- Camera 101 (MIT Computational Photography) - https://people.csail.mit.edu/fredo/comp-photo-book/02-fundamentals-10-photography-and-camera-101.html
Comments (0)
Please sign in to post a comment.
Don't have an account? Create one
No comments yet. Be the first to comment!