• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Home
  • News
  • Reviews
  • Organizing
  • Editing
  • Explainers
  • Photo-editing A-Z
  • About

Life after Photoshop

  • Lightroom Classic
  • Capture One
  • Nik Collection
    • Analog Efex
    • Color Efex
    • Silver Efex
    • HDR Efex
    • Viveza
    • Sharpener
    • Dfine
    • Perspective Efex (retired)
  • DxO PureRAW
  • ON1 Photo RAW
  • Exposure X

RAW files explained

February 24, 2022 by Life after Photoshop

How RAW files work
Photo by Marvin Kuhn on Unsplash

Many photographers prefer to work with RAW files – but what are they, how do you work with them, and why are they so much better than regular in-camera JPEGs?

  • What RAW files are
  • RAW file types
  • RAW bit depth and compression settings
  • RAW files and picture styles

What RAW files are

Digital cameras capture images in a series of stages:

  1. Sensors use a color filter array (CFA) to capture analog red, green or blue light values at each photo site. This creates a kind of color ‘mosaic’ that still needs to be turned into regular color data.
  2. Next, the camera’s A/D converter (analog/digital converter) turns these analog values into digital data. The A/D converter will also handle ISO amplification and noise reduction (this is why ISO is not something you can adjust later in RAW software).
How RAW files work
RAW files are not finished images. They are a ‘mosaic’ of red, green and blue pixels (this is a crude simulation).

Now you have a RAW file. It’s digital data rather than analog light values, but it’s still in a ‘mosaic’ of red, green and blue pixels and has yet to be ‘demosaiced’. This is what’s saved by the camera for you to process later if you choose the RAW setting.

There are two different ways to process this RAW data into an image. You can either let the camera do it to produce a regular JPEG image, or you can process the RAW file on a computer. The processing steps are the same, whichever you choose.

  1. The data is ‘demosaiced’ to produce full color data for each pixels. Cameras and raw processing applications have their own proprietary demosaicing processes.
  2. The white balance setting and any in-camera picture styles are applied, any spare data is discarded and a processed JPEG image is produced.
How RAW files work
You will only get a finished image after the RAW data has been processed, either in-camera or using RAW software.

The difference is that the camera will process the RAW data according to the camera settings and any picture style you’ve chosen, whereas with RAW software you can start from scratch and process the RAW data how you like – and as many times as you like.

RAW file types

Every camera produces its own proprietary RAW format, and sometimes you have to wait a couple of weeks for software to be updated to support a new camera – important cameras often get RAW support very quickly.

Each brand has its own characteristic RAW filename extensions. Nikon cameras, for example, produce .NEF files, Fujifilm cameras produce .RAF files and Sony cameras product .ARW files.

A few cameras use Adobe’s generic DNG (Digital NeGative) format, though this has not really caught on much outside the Adobe software ecosystem.

RAW bit depth and compression settings

RAW files have a higher bit-depth than regular JPEGs, which is where a lot of their additional quality comes from. JPEGs are 8-bit images (8 bits of data are used to describe the red, green and blue color components for each pixel), but cameras typically capture 14-bit RAW files. Some capture 12-bit RAW files instead, while more advanced medium format cameras may capture 16-bit RAW files.

The exact bit depth is not crucial – the key thing is that shooting RAW is the only way to get a 16-bit TIFF file, which is the best quality for editing and offers the least degradation even with heavy manipulation.

More and more programs today can ‘edit’ RAW files directly, such as Lightroom and Capture One, though this is ‘non-destructive’ editing which doesn’t change the original file – and you still have to ‘export’ a processed JPEG or TIFF to produce a shareable image.

RAW files can also be ‘compressed’ or ‘uncompressed’. In fact, you typically have three choices:

  1. Uncompressed RAW: these files are the largest but may be quicker to edit
  2. Lossless compressed RAW: the name says it all – the file sizes are smaller but there’s no quality loss.
  3. Compressed RAW: or ‘lossy compressed’, if you like. These are the smallest RAW files but there may (or may not) be some detectable difference in quality.
Typical RAW settings options
12-bit14-bit
Compressed (smallest)Compressed
Lossless compressedLossless compressed
UncompressedUncompressed (largest)

Many cameras will offer a choice of both bit depth and compression settings – but even 12-bit compressed RAW files offer such a leap in potential quality compared to JPEGs, that you may decide smaller RAW files are well worth any theoretical effect on quality.

RAW files and picture styles

Many cameras come with a selection of picture styles or creative effects, specially designed for portraits, for example, or black and white photography. Fujifilm includes classic film simulations with its cameras to replicate the look of Velvia film, for example.

All of these styles and effect are created by processing the RAW image data in-camera, but it’s important to be aware of the different outcomes with JPEG and RAW files.

How RAW files work
If you use a Monochrome picture style and shoot JPEGs, the camera will bake that style into the image and you will get what you expect.
How RAW files work
If you use a monochrome picture style (or any other) and shoot RAW, the camera will embed a processed preview image reflecting that style, but the underlying RAW data will still be in full color.
How RAW files work
So the screen on the back of the camera will show the picture style you expect, but your RAW software will typically ignore that and revert to the default (color) RAW data. It’s up to you to create the look you want in your RAW software.
  1. If you use the JPEG setting, the picture style will be ‘baked into’ the image. The image you get is exactly what you would expect.
  2. If you choose the RAW setting, the camera may still show the image with the effect applied, but in fact it has stored the full RAW data and is merely previewing the effect you chose.

If you process the RAW file in the camera maker’s own software, it will apply that picture style for you – but if you use third-party software, it will ignore the picture style chosen on the camera and default to its own generic profile.

This is why you can shoot in what you think is black and white, but then your RAW software opens up the image in color.

Read more:

  • RAW vs JPEG: things you can do with RAW files that you can’t do with JPEGs
  • 10 myths about RAW files – and why they’re wrong

Related

Filed Under: General, Photography explained

Life after Photoshop is owned and run by photographer and journalist Rod Lawton. Rod has been a photography journalist for nearly 40 years, starting out in film (obviously) but then migrating to digital. He has worked as a freelance journalist, technique editor and channel editor, and is now Group Reviews Editor on Digital Camera World. Life after Photoshop is a personal project started in 2013.

Primary Sidebar

Subscribe to this site

Enter your email address to subscribe to Life after Photoshop and receive notifications of new posts by email.

Adobe Lightroom: what is it, where do you get it, what does it cost in 2025?

Adobe Lightroom is not one program but three. You could … [Read More...] about Adobe Lightroom: what is it, where do you get it, what does it cost in 2025?

The best photo editing software for organizing, editing, RAW and effects

Choosing the best image editing software used to be easy. … [Read More...] about The best photo editing software for organizing, editing, RAW and effects

Layers explained

Layers explained: what they do and how to use them

Layers are a central part of many photo editing processes, … [Read More...] about Layers explained: what they do and how to use them

BAN adjustments… Basic And Necessary image corrections to do first

Photo editing software does two quite different jobs. It can … [Read More...] about BAN adjustments… Basic And Necessary image corrections to do first

More Posts from this Category

Mission statement

Life after Photoshop is not anti-Photoshop or anti-subscriptions. It exists to showcase the many Photoshop alternatives that do more, go further, or offer more creative inspiration to photographers.

Affiliate links

Life after Photoshop is funded by affiliate links and may be paid a commission for downloads. This does not affect the price you pay, the ratings in reviews or the software selected for review.

Contact

Email lifeafterphotoshop@gmail.com

Copyright © 2025 Life after Photoshop · News Pro on Genesis Framework · WordPress · Log in

We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OK