Understanding Camera RAW Files: Original Image Data, Processing, and Editing
Article Nov 29, 2026

Understanding Camera RAW Files: Original Image Data, Processing, and Editing

M Seemab

M Seemab

Content Creator & Editor

Camera RAW files are containers of minimally processed data recorded by the camera sensor, saved in a manufacturer-specific format such as Canon CR3, Nikon NEF, Sony ARW, or Fujifilm RAF. Because color, tone, and sharpening are applied later in software, a RAW file offers far more editing flexibility than a JPG, but it is larger and cannot be shared or viewed without processing.
The word RAW suggests a single format, which is the first thing worth correcting. It is a category, and each camera maker defines its own layouts, often changing them between models. That is why a brand-new camera may not open in your editing software until it is updated. This guide explains what a RAW file holds, how the sensor data becomes a picture, what editing latitude really means, and how to store the files so they stay readable.

Key Points

  • RAW is a family of proprietary formats, not one format.
  • The file stores sensor readings, typically 12 to 14 bits per photosite, plus metadata and a preview.
  • Demosaicing, white balance, tone curves, and color profiles are applied in software, not in the file.
  • Edits are non-destructive: they are stored as instructions beside or beyond the RAW.
  • Files are large and need RAW-capable software and up-to-date camera support.
  • Keep RAW originals and export JPG or TIFF copies for each use.
KEY TAKEAWAY
“A RAW file is not a photograph yet. It is the material a photograph is made from, and the decisions are still yours.”

What a Sensor Actually Records

A camera sensor is a grid of photosites, each measuring how much light reached it. To capture color, a color filter array sits over the sensor so each photosite sees only red, green, or blue light. The most common layout is the Bayer pattern, which has twice as many green photosites as red or blue, and Fujifilm's X-Trans uses a different arrangement. A RAW file stores those single-color measurements, typically at 12 to 14 bits each, along with black and white levels, white balance as shot, lens information, and a reduced-size JPG preview.
Turning that mosaic into a normal picture requires several steps, which a camera performs automatically when it saves a JPG and which RAW software performs when you choose.
Step
What happens
Why you may want control
Black and white level correctionSensor offsets are removedAffects shadow depth
DemosaicingMissing colors at each pixel are interpolatedDifferent algorithms trade sharpness against artifacts
White balanceColor cast is neutralizedCan be set freely after shooting
Color profileSensor colors are mapped to a working spaceDetermines saturation and hue rendering
Tone curveBrightness and contrast are shapedControls the look and highlight recovery
Noise reduction and sharpeningFine detail is cleaned and enhancedDepends on ISO and taste

Common RAW Extensions

Extension
Maker
Notes
.CR2 and .CR3CanonCR2 is TIFF-based; CR3 uses an ISO base media container
.NEF and .NRWNikonTIFF-based
.ARWSonyTIFF-based
.RAFFujifilmHandles Bayer and X-Trans data
.ORFOlympus and OM SystemTIFF-based
.RW2PanasonicLumix cameras
.PEFPentaxPentax also writes DNG
.DNGAdobe and several makersDocumented RAW container

What Editing Latitude Means

Editing latitude is the amount of change a file can take before it breaks down. A JPG stores 8 bits per channel after tone and color decisions have been baked in, so pulling up dark shadows reveals noise and banding, and brightening a blown highlight reveals nothing because the information is gone. A RAW file keeps more tonal steps and a wider range, so the same edits recover more shadow detail, rescue many partly clipped highlights, and allow white balance to be set after the fact without color damage.
Edit
JPG result
RAW result
Brighten underexposed shadowsNoise and banding appear quicklyMuch more usable detail
Recover bright highlightsOften impossibleFrequently recoverable if not fully clipped
Change white balanceColor damage in extremesClean, because it is applied late
Heavy color gradingPosterisation riskSmoother gradients
Large printLimited by 8-bit dataMore tonal headroom
None of this rescues a fully clipped highlight or a badly focused frame. RAW improves the odds, not the laws of physics.

Compression, File Size and Storage

RAW files may be uncompressed, losslessly compressed or, on some cameras, lossy compressed. Size scales with resolution: a 45-megapixel camera can write files of 50 MB or more. Lossless compression saves a modest share, and lossy options save more with small visible effect in many scenes, but they remove data, so check what your camera setting means before using it for critical work. Because proprietary formats raise a long-term question about whether software will read them in decades, common practice is to follow the 3-2-1 backup rule, with three copies on two types of media and one stored elsewhere, and to export lossless TIFF or PNG versions of finished important images.

Software and Compatibility

Adobe Lightroom and Camera Raw, Capture One, DxO PhotoLab, darktable, RawTherapee, and the camera makers' own programs read RAW files, as do Apple Photos and recent Windows versions with the right codecs. Each new camera model needs explicit support, which is why updating software matters. Browsers and general viewers do not render RAW. Editors do not alter the file itself; edits are saved as instructions in a sidecar file, often XMP, or in a catalog database.

Advantages and Disadvantages

Advantages
Disadvantages
Maximum editing flexibility and dynamic range recoveryLarge files that fill cards and drives quickly
Non-destructive: the original data stays unchangedNeeds RAW software and updated camera support
Can be re-processed with better software laterProprietary, varied formats and long-term access risk
Higher bit depth reduces banding in editsCannot be shared or uploaded directly
Full control over white balance and colorMore time spent processing

RAW Compared With Related Formats

  • RAW and JPG: JPG is a processed, compressed picture ready to share. See the JPG guide.
  • RAW and DNG: DNG repackages RAW data in an openly documented container. See the DNG guide.
  • RAW and TIFF: TIFF is a typical output once a RAW has been developed. See the TIFF guide.

Converting RAW Files

The SnapZain Image Format Converter does not list any camera RAW extension among its accepted inputs, so develop the file in a RAW processor first. Export a high-quality JPG for sharing, or a 16-bit TIFF for further editing, and keep the RAW file as the master. After you have a JPG, PNG, or TIFF, SnapZain can convert it among its listed formats.
  • RAW to JPG: the usual route to a shareable photograph; your developing settings define the look.
  • RAW to TIFF: preserves more bit depth for print or retouching but creates a large file.
  • RAW to DNG: a repackaging step rather than developing.

A Beginner-Friendly RAW Workflow

Stage
What to do
Tip
ShootRecord RAW, or RAW plus JPG if you need quick copiesExpose to protect highlights
ImportCopy to two locations and verifyCheck the card before formatting it
CullRate and discard clear failuresDo this before heavy editing
DevelopSet white balance, exposure and toneWork from broad to fine adjustments
ExportJPG for sharing, TIFF for printResize and sharpen for the destination
ArchiveKeep RAW and the catalog backed upTest restores occasionally
The order matters: backing up before editing protects the one thing you cannot recreate.

Lossless or Lossy RAW?

Choice
Best when
Risk
UncompressedStorage is plentiful and speed mattersLargest files
Lossless compressedYou want smaller files with no data lossSlightly slower writing on some cameras
Lossy compressedStorage is tight and edits will be moderateReduced latitude in extreme edits

Common RAW Mistakes

  • Deleting RAW files after exporting JPGs: you lose your editing headroom.
  • Renaming a RAW to JPG: the file is still RAW and will not open as a JPG.
  • Not updating software for a new camera: update the RAW processor or use the maker's tool.
  • Judging a RAW by its embedded preview: the real rendering is applied by your software.
  • Keeping a single copy: back up to at least two locations.

Conclusion

RAW is best seen as a digital negative: heavy, flexible, and in need of development. Know which format your camera writes, choose a RAW processor you trust, keep the originals backed up, and export JPG, TIFF, or PNG copies for each purpose. Doing so keeps both your editing freedom and your long-term access.

Frequently Asked Questions

Is RAW a file format?

Not a single one. It is a family of manufacturer-specific formats that store minimally processed sensor data.

Why can I not open my new camera's RAW files?

Software must add support for each model. Update your RAW processor or use the maker's software until support arrives.

Is RAW higher quality than JPG?

It holds more data and offers more editing freedom. A well-exposed JPG can still look excellent, and the difference shows when you recover shadows and highlights.

How big are RAW files?

They scale with resolution and compression. Typical files run from roughly 15 MB to 70 MB or more.

What is demosaicing?

Each photosite records one color only. Demosaicing interpolates the missing colors at every pixel to build a full-color image.

What is a Bayer filter?

A color filter pattern over the sensor with twice as many green filters as red or blue, which mimics the eye's sensitivity.

What is X-Trans?

Fujifilm's alternative color filter layout, which needs different demosaicing than the Bayer pattern.

Do I lose quality by editing a RAW?

The RAW file stays unchanged; edits are stored as instructions. Quality is affected only when you export to a lossy format.

What is a sidecar XMP file?

A small file beside the RAW that stores edit settings and metadata without modifying the RAW itself.

How can I recover blown highlights in RAW?

If the highlights are only partly clipped, lowering exposure or highlights in RAW software can bring back detail. Fully clipped areas hold no data.

What bit depth do RAW files use?

Typically 12 or 14 bits per photosite, compared with 8 bits per channel in a normal JPG.

Should I shoot RAW plus JPG?

It gives a quick shareable copy and an editable master, at the cost of storage space.

What is lossy compressed RAW?

A camera option that reduces file size by discarding some data. It can look fine but limits editing in extreme cases.

Why does a RAW look flat in my editor?

No tone curve or contrast styling has been applied yet. Software applies a default rendering that you then adjust.

Does shooting RAW slow down my camera?

Larger files can fill the buffer sooner and slow bursts on some cameras, and lossless compression often helps.

Can I print directly from RAW?

Develop it first. Export a high-quality TIFF or JPG with a suitable color profile for printing.

What does the 3-2-1 backup rule mean?

Keep three copies of your data, on two different types of storage, with one copy stored in another location.

Will my RAW files still open in twenty years?

Proprietary formats carry that risk, so keep backups, update software, and consider DNG or developed TIFF copies for important images.

Can the SnapZain converter open RAW files?

Its page lists no camera RAW formats as inputs. Develop the RAW in a RAW processor and export a JPG or TIFF first.

What are black and white levels in RAW?

The sensor values that represent no light and full saturation. They are needed to scale readings correctly during processing.

Why do two programs render the same RAW differently?

Each uses its own demosaicing, color profile, and default tone curve, so default looks differ even though the data is the same.

Share this article

Join the Conversation