Technical Knowledge
RAW, DNG, and More
What are the limits, and what can I get out of my camera without AI? Technical tricks for lossless photos.
Documentation from before Topaz and similar tools, which remains relevant today.
Your Photo Trainer
Johann Dirschl

RAW, DNG, and More
Analog and Digital! Image development is required to ensure the best possible quality. In the past, exposed film was the basis for the lab; today, it's stored sensor data. These data are also called RAW data. RAW (raw) here refers to the raw data—the pure data of the photons captured on the sensor—as well as many additional pieces of information such as Exif, IPTC, GPS, preview image, etc.
Course Dates
Currently, this course is only offered as a Franzis webinar and serves as supplementary information for the RAW converter courses.
Analog or Digital?
In analog photography, a light-sensitive film is inserted, which stores the image as a negative. The negative is developed in a lab using chemical processes. Here, tools like dodgers, burners, masks, etc., can be used to process the image to create a perfect picture.
Technically, the following has changed in this process: Instead of film, in digital photography, information is stored on a sensor and then developed with a RAW converter. This sensor data is also called raw data or simply the RAW format.
Why RAW and Not JPG?
The sun and other light sources emit photons. These hit our subject and are reflected depending on the surface and color. When we capture a subject with our camera, the photons pass through the lens onto the sensor until the curtain (shutter) falls. During this "exposure" period, the photons are recorded in a grid on our sensor, with data for red, green, and blue. This grid can then be interpreted and processed by a RAW converter.
Light is a complex subject, and a good explanation can be found here:
http://de.wikipedia.org/wiki/Licht
The RAW format is typically a 12, 14, or even 16-bit format. Even at 12 bits, 4096 brightness levels per color channel are available. A detailed list can be found here: http://de.wikipedia.org/wiki/Farbtiefe_(Computergrafik)
If you set the camera to JPG, it converts the sensor data into a "real image," but then only 8 bits are available. This doesn't sound so dramatic at first, but in fact, only 256 brightness levels per color channel are available with 8 bits.
As long as we don't need to edit the images, this is generally not a problem. However, if you wanted to make the image one stop brighter, you would lose brightness levels.
Here's a small comparison between RAW and JPG data:
| Stops | RAW (12 Bit) | JPG (8 Bit) |
| -4 | 4096 | 256 |
| -3 | 4096 | 256 |
| -2 | 4096 | 256 |
| -1 | 4096 | 256 |
| 0 | 4096 | 256 |
| +1 | 2048 | 128 |
| +2 | 1024 | 64 |
| +3 | 512 | 32 |
| +4 | 256 | 16 |
If it were that simple, one could conclude that with RAW data, you could always correct by 4 stops and achieve the result of the best JPG. Unfortunately, that's not entirely true, because many more photons are captured in the bright areas, which is better for calculation. Conversely, fewer photons are counted in dark areas, making it clear that editability also depends on the image subject.
TIP: Due to its higher color depth, the RAW format is always preferable to JPG.
ETTR - Exposure to the Right
The table above clearly shows that brightness levels are lost when brightening an image in a RAW converter. Conversely, an image can always be darkened without loss, as long as no tonal value is at its limit.
This leads to a special characteristic that, when applied correctly, results in better images. If you have very dark subjects, it makes sense to intentionally photograph them brighter, as this provides more usable dynamic range and more contrast in the image.
The Camera's Internal RAW Converter
For a camera to display an image, it always needs its own onboard RAW converter. However, these function very differently. In some cameras, lens errors and similar issues are clearly not corrected, while in others, they are corrected very well. Therefore, I recommend that every beginner set their camera quality to RAW+JPG and then process both shots identically. This quickly reveals the advantages of RAW. Professionals will, in any case, only shoot in RAW format. However, there are now also cameras like the Canon 5D III that have a very good onboard RAW converter. Lens corrections, chromatic aberrations, etc., are thus also corrected for JPGs. Especially with combined HDRs, good results can be achieved, and post-processing time can be saved.
With cameras without interchangeable lenses, the result is usually better because the manufacturer can precisely adapt the converter for the camera and lens. Therefore, the results are often disappointing for those switching from compact to DSLR cameras.
A Brief Look at Sensor Technology
Sensors are not identical across all manufacturers. Typically, 60% of the sensor is green, 20% red, and 20% blue. The arrangement is symmetrical but is sometimes configured differently by some manufacturers to avoid potential moiré effects.
For a brief overview, here is a link to Wikipedia:
http://de.wikipedia.org/wiki/CCD-Sensor
A brief look at color arrangement:
http://commons.wikimedia.org/wiki/File:CFA_Pattern_fuer_quadratische_und_rechteckige_Pixel.png
If you wish to delve deeper, you can search for "Sensor structure photography" in a search engine.
These examples focus on single-layer sensors, but multi-layer sensors, such as those from Sigma, are also possible. In these, the individual colors are not distributed across a single sensor surface but are arranged in multiple layers—one for blue, one for green, and one for red.
Example from Wikipedia:
http://de.wikipedia.org/wiki/Foveon_X3
or here is the link to Sigma:
http://www.sigma-foto.de/fotowelt/fototipps/fotowissen/technik/artikel/article/foveon-x3-direkt-bildsensor.html
I would also like to post another excellent link on the topic of sensors here:Â http://www.puchner.org/Fotografie/technik/die_kamera/sensor.htm
The Dynamic Range of the Sensor
The higher your camera's dynamic range, the more flexibility you have for post-processing.
Modern DSLRs today achieve up to 15 stops of dynamic range. Architecture and landscape photographers, in particular, should consider this aspect when choosing a camera.
Examples of dynamic range:
Canon 5D II: 12 stops
Canon 5D III: 13 stops
Nikon D800: 15 stops
Because more photons hit bright image elements than dark ones, our photos often don't look exactly as we perceive the scene in person. A classic example is photographing against a church window. In such cases, we usually have to choose between capturing a stunning window or the church nave with blown-out windows. To compensate for this imbalance, a camera with high dynamic range offers a clear advantage.
How Can I Improve Dynamic Range?
1. Filters
If you're familiar with analog photography, you might have used filters to darken a sky, for example. These filters are usually mounted on a lens ring adapter and then used as slide-in filters. Filters from Cokin or Singh-Ray, for example, are and were very popular.
Here are the links:
http://www.cokin.co.uk/
http://singh-ray.com/grndgrads.html
By darkening an overly bright sky, a narrower dynamic range is needed.
2. Two or More Exposures
Instead of taking a single picture, you can take several with different exposure times. This allows you to create a graduation mask later in a graphics program using a second or even third layer. This achieves an effect similar to using a filter.
3. Dual ISO
If you could create dark areas with a higher ISO value than bright ones, a similar effect would be achieved. Few cameras offer such capabilities; Magic Lantern is very popular here.
4. Buy a Camera with Higher Dynamic Range
This might sound a bit harsh, but in fact, with 13 stops of dynamic range, HDR is hardly necessary anymore.
5. HDR 32 Bit
Create 3 or more shots in the camera's AEB mode and then process them as a 32-bit image in the RAW converter. An intermediate step is required for this, but Photoshop or a Lightroom plugin from Photomatix, "Merge to 32 Bit HDR," handles it automatically.
6. Beyond direct dynamic range improvement, you can, of course, also use HDR programs. These internally generate a higher dynamic range, but selective image editing to your preferences is usually severely limited. Nevertheless, it's a lot of fun to play with these tools. Franzis also offers an extensive range of software products with HDR Projects.
Light and Shadow
While the RAW format can brighten and darken highlights and shadows, the correct shooting position provides better starting conditions. In extreme sun and harsh shadows, a Sun Swatter is best suited to remove harsh shadows from the face. If it's not the sun but merely the backlight causing problems, there are reflectors, but these often glare and thus fail to achieve the desired effect. A fill flash might be a good solution, but then significant power is usually required, which often means investing in a Hensel Porty system or Profoto's AirTTL.
So, when we talk about perfect pictures, photographic expertise is required in addition to the full potential of RAW.
What is Stored in RAW Format?
1. Sensor Data (individual data separated by red, green, and blue)
2. Preview Image (downsampled JPG from the camera's internal RAW converter)
This preview image is smaller than the RAW file and also compressed. This allows it to be viewed and quickly navigated on the camera's display. This image is also found later in the RAW converter, where its quality can be selected. Extracting the image directly from the RAW file, however, is not intended. Nevertheless, there are programs like Instant JPG from RAW that perform this task.
3. Exif Information
Immutable data that provides information about the lens, camera, settings, etc. For a photographer, this is crucial, as it enables quick understanding of why images might be out of focus, noisy, etc. ISO, aperture, shutter speed, metering method, focus, etc., can be found here.
4. IPTC (Core and Extension)
Modifiable, standardized data. Information about the image, from the creator and rights to models and contracts, can be stored here:Â http://de.wikipedia.org/wiki/IPTC-NAA-Standard
5. GPS
Modifiable data about the location of the shot. The data can also be saved automatically if the camera has a corresponding GPS module.
Which graphics program can I use to edit RAW images?
None, because RAW images are not photographs themselves. To process RAW data, you need a RAW converter, but even then, the RAW data within the RAW file is not altered. We only issue instructions, which are saved separately. The RAW file is therefore converted using the corresponding configuration file (.xmp or database).
Can I also process other data in a RAW converter?
Yes, most RAW converters also process JPG or TIFF data. In the case of Bridge, which also acts as an interface to other programs offered by Adobe, it can even process videos, PDFs, etc.
The Adobe Camera RAW converter can now even be called up as a filter in Photoshop CC, allowing individual layers to be edited with it. In older versions of Photoshop, this could be installed via an additional plugin from Dr. Brown (Edit layers in ACR).
Which RAW converters are available?
Adobe Bridge CC:
An excellent program that directly uses the Adobe Camera RAW converter, eliminating the need to adapt to a different user interface in Photoshop. The converter has a few more functions than Lightroom, such as spot removal, line correction with the Shift key during selective editing, automated detection of optimal settings for shadows, highlights, etc. Bridge is also the perfect interface to all other Adobe products. The renaming functions are also very good, which is why I enjoy using this converter in combination with Capture One.
Adobe Lightroom CC:
A comprehensive, feature-rich tool for photographers. The result is identical to Bridge CC, as both programs work with the same process version. Lightroom stores all preview images, settings, etc., in a database, the catalog. This allows for the creation of huge image archives that can then be searched using keywords. Most plugin manufacturers consider Lightroom the standard, so all common plugins can be used directly within it. Lightroom also offers export, light table, map, photo book, contact sheet, printing, etc. Nevertheless, I personally prefer Bridge CC because I don't need a catalog, which allows me to work at the file level.
Capture One Pro 12:
Currently, it is arguably the sharpest RAW converter with a very sophisticated operating concept. Qualitatively, it is significantly superior to Adobe software. Some sliders offer more powerful adjustments than those in Adobe. The pseudo-HDR function is truly brilliant, as are the targeted options for color manipulations and B&W.
Capture NX:
As far as I know, it has been discontinued. It is a good converter for Nikon, but since it cannot be used for other manufacturers and is also a paid software, Nikon users usually switch to Lightroom or Capture One.
Canon Digitalphoto Pro:
Included, free RAW converter from Canon. Unfortunately unusable, as selective image corrections are not possible, and lens profiles must be laboriously installed afterwards.
DXO:
I have not yet tested DXO's RAW converter. Its low noise has been mentioned positively multiple times. However, its speed has been reported as slow. DXO acquired NIK Software from Google in 2018, so it might be familiar to some photographers. Since then, NIK has become paid again, and apart from some bugs in Photoshop that caused crashes, no new features have been added to the software. Attempts to meaningfully integrate other DXO programs have failed so far. The first year after the acquisition yielded no significant benefits beyond the expenses.
LightZone, Gimp und Co.:
An open-source project for enthusiasts... it certainly doesn't compare to commercial offerings, but it may be of interest to some Linux users. Similarly, Gimp offers the ability to edit 'individual' images in RAW format, but this is usually not sufficient. The same applies to Affinity Photo, which is brilliant but unfortunately cannot replace a RAW converter.
Gaining Our First Experience
I always use Bridge for this, as edits are saved in an .xmp file directly alongside the RAW photo. This file is hidden in Bridge but can be displayed via the menu "View" -> "Show Hidden Files". If it's not shown directly next to the image, sort the images by filename.
Let's just change the Exposure by +1.4 stops. Then we can open the xmp file with a text editor and see the changes directly. All changes are saved in XML format. I find Bridge effective because everything can be found in this separate file.
This principle applies to all RAW converters! Edits are either saved in a file or, alternatively, in a database.
Important: If you want to back up your RAW edits later, you will definitely need the editing settings as well – meaning the XMP file or a backup of the database (e.g., Lightroom catalog) or Capture One session or catalog!
In Lightroom, I would also activate the .xmp files (Lightroom -> Catalog Settings -> Metadata -> Automatically write changes into XMP). This way, you can not only work across Lightroom and Bridge but also automatically include the edits in your data backup. Better safe than sorry.
RAW or DNG?
Every manufacturer has its own RAW format.
Canon: .CR2
Nikon: .NEF
Samsung: .SRW
Sony: .ARW, .SR2 .SRF
etc...
These formats store commonly used data, as well as camera-specific data such as the focus point for Nikon.
As an alternative, Adobe has provided a quasi-neutral standard since 2004: DNG, also known as "Digital Negative Format".
Here's a short link: http://de.wikipedia.org/wiki/Digital_Negative
The advantage is that the file size is slightly smaller, and only one file type is needed for image agencies. Furthermore, DNG is a container format that can also hold the original RAW file. No additional .xmp file is required either, as it is also saved together with the DNG.
The disadvantage is that additional manufacturer information that DNG cannot handle is discarded.
TIP: The image quality is completely identical for RAW and DNG. Like many others, I tend to prefer the manufacturer's RAW files.
Basic Settings
There are settings I need for every image. These include:
- Lens Correction
- Chromatic Aberration Correction
- Basic Sharpening
TIP: It is advisable to create these basic settings and save them as a preset. This preset can then be applied during import, or assigned or copied/synchronized later.
Key RAW Settings in Detail
Let's get started; we'll explore the individual parameters...
Lens Corrections
Lenses are rarely perfect; zoom and wide-angle lenses, in particular, often exhibit barrel distortion, making straight lines appear curved. Additionally, lenses can show vignetting towards the edges, which can be as much as 2 stops with wide-angle lenses.
Good RAW converters can remove these optical distortions at the touch of a button. The RAW converter should recognize the lens and camera combination used based on the Exif information and optimize it automatically. Lightroom, Bridge, and Capture One have a wide variety of manufacturers stored for this purpose.
If a lens is not recognized, an image can also be corrected manually in the RAW converter. However, since I always want to correct every image, this correction is part of my basic settings.
Chromatic Aberrations
Light consists of different wavelengths. This division of light is clearly visible in a prism, and the same applies to a lens. If the lens does not immediately correct this effect, we get a deviation of the individual colors on the sensor. The wider the angle of a lens, the more visible these errors are in the image. This manifests as color shifts towards the edges of the image. For example, a branch appears additionally in red and green, resulting in an overall distorted, blurry image.
The following article is interesting in this regard:
http://de.wikipedia.org/wiki/Chromatische_Aberration
Using a checkbox in the RAW converter, the software ensures precise overlay of the red, green, and blue layers. For this, the RGB grid in the area sensor is divided into 3 individual grids (or the three-layer sensor into 3 individual grids) and then digitally adjusted so that the pixels align again.
TIP: If further chromatic errors are still visible after this action, these are so-called longitudinal chromatic errors, also known as Purple Fringing (http://en.wikipedia.org/wiki/Purple_fringing). These can occur particularly in architectural shots, for example, when lamps are their own light source. Further color errors are often visible at their high-contrast edges. These can only be completely removed from the image (Bridge: Remove Fringe, Lightroom: Eyedropper).
Sharpening (Presharpener)
By default, images in Lightroom and Bridge are soft; they must first be sharpened. Various sliders are available for this, which provide the same effect as the old Unsharp Mask filter in Photoshop. This is sufficient to satisfy 95% of all photographers.
To see what the individual sliders Amount, Radius, Detail, and Masking do, press the Alt key simultaneously while moving the slider. Good basic settings are around 80% (all sliders).
In fact, it could certainly be much better, as other RAW converters like Capture One impressively demonstrate. Personally, I have simply become accustomed to working in Bridge and therefore reluctantly use other converters. However, if they are images I want to print very large or even submit to competitions, I increasingly switch to Capture One.
