HOME

TheInfoList



OR:

A camera raw image file contains unprocessed or minimally processed data from the image sensor of either a digital camera, a motion picture film scanner, or other
image scanner An image scanner—often abbreviated to just scanner—is a device that optically scans images, printed text, handwriting or an object and converts it to a digital image. Commonly used in offices are variations of the desktop ''flatbed scanner'' ...
. Raw files are named so because they are not yet processed and therefore are not ready to be printed, viewed or edited with a bitmap graphics editor. Normally, the image is processed by a raw converter in a wide-
gamut In color reproduction, including computer graphics and photography, the gamut, or color gamut , is a certain ''complete subset'' of colors. The most common usage refers to the subset of colors which can be accurately represented in a given circ ...
internal
color space A color space is a specific organization of colors. In combination with color profiling supported by various physical devices, it supports reproducible representations of colorwhether such representation entails an analog or a digital represen ...
where precise adjustments can be made before
conversion Conversion or convert may refer to: Arts, entertainment, and media * "Conversion" (''Doctor Who'' audio), an episode of the audio drama ''Cyberman'' * "Conversion" (''Stargate Atlantis''), an episode of the television series * "The Conversion" ...
to a viewable file format such as
JPEG JPEG ( ) is a commonly used method of lossy compression for digital images, particularly for those images produced by digital photography. The degree of compression can be adjusted, allowing a selectable tradeoff between storage size and imag ...
or PNG for storage, printing, or further manipulation. There are dozens of raw formats in use by different manufacturers of digital image capture equipment.


Rationale

Raw image files are sometimes incorrectly described as "digital negatives", but neither are they negatives nor do the unprocessed files constitute visible images. Rather, the Raw datasets are more like
exposed Expose, exposé, or exposed may refer to: News sources * Exposé (journalism), a form of investigative journalism * '' The Exposé'', a British conspiracist website Film and TV Film * ''Exposé'' (film), a 1976 thriller film * ''Exposed'' (1932 ...
but
undeveloped A developing country is a sovereign state with a lesser developed industrial base and a lower Human Development Index (HDI) relative to other countries. However, this definition is not universally agreed upon. There is also no clear agreem ...
film which can be converted (electronically developed) in a non-destructive manner multiple times in observable, reversible steps to reach a visually desired image. (With exposed film, development is a single event that physically transforms the unexposed film irreversibly.) Like undeveloped photographic film, a raw digital image may have a wider
dynamic range Dynamic range (abbreviated DR, DNR, or DYR) is the ratio between the largest and smallest values that a certain quantity can assume. It is often used in the context of signals, like sound and light. It is measured either as a ratio or as a base ...
or color
gamut In color reproduction, including computer graphics and photography, the gamut, or color gamut , is a certain ''complete subset'' of colors. The most common usage refers to the subset of colors which can be accurately represented in a given circ ...
than the developed film or print. Unlike physical film after development, the Raw file preserves the information captured at the time of exposure. The purpose of raw image formats is to save, with minimum loss of information, data obtained from the sensor. Raw image formats are intended to capture the
radiometric Radiometry is a set of techniques for measuring electromagnetic radiation, including visible light. Radiometric techniques in optics characterize the distribution of the radiation's power in space, as opposed to photometric techniques, which ...
characteristics of the scene, that is, physical information about the light intensity and color of the scene, at the best of the camera sensor's performance. Most raw image file formats store information sensed according to the geometry of the sensor's individual photo-receptive elements (sometimes called
pixel In digital imaging, a pixel (abbreviated px), pel, or picture element is the smallest addressable element in a raster image, or the smallest point in an all points addressable display device. In most digital display devices, pixels are the ...
s) rather than points in the expected final image: sensors with hexagonal element displacement, for example, record information for each of their hexagonally-displaced cells, which a decoding software will eventually transform into the rectangular geometry during "digital developing".


File contents

Raw files contain the information required to produce a viewable image from the camera's sensor data. The structure of raw files often follows a common pattern: * A short file header which typically contains an indicator of the byte-ordering of the file, a file identifier and an offset into the main file data * Camera sensor metadata which is required to interpret the sensor image data, including the size of the sensor, the attributes of the CFA and its
color profile In color management, an ICC profile is a set of data that characterizes a color input or output device, or a color space, according to standards promulgated by the International Color Consortium (ICC). Profiles describe the color attributes of a ...
* Image metadata which can be useful for inclusion in any
CMS CMS may refer to: Computing * Call management system * CMS-2 (programming language), used by the United States Navy * Code Morphing Software, a technology used by Transmeta * Collection management system for a museum collection * Color manage ...
environment or
database In computing, a database is an organized collection of data stored and accessed electronically. Small databases can be stored on a file system, while large databases are hosted on computer clusters or cloud storage. The design of databases ...
. These include the exposure settings, camera/scanner/lens model, date (and, optionally, place) of shoot/scan, authoring information and other. Some raw files contain a standardized metadata section with data in Exif format. * An image
thumbnail Thumbnails are reduced-size versions of pictures or videos, used to help in recognizing and organizing them, serving the same role for images as a normal text index does for words. In the age of digital images, visual search engines and imag ...
* Most raw files contain a full size JPEG conversion of the image, which is used to preview the file on the camera's LCD panel. * In the case of motion picture film scans, either the timecode, keycode or frame number in the file sequence which represents the frame sequence in a scanned reel. This item allows the file to be ordered in a frame sequence (without relying on its filename). * The sensor image data Many raw file formats, including IIQ ( Phase One), 3FR ( Hasselblad), DCR, K25, KDC (
Kodak The Eastman Kodak Company (referred to simply as Kodak ) is an American public company that produces various products related to its historic basis in analogue photography. The company is headquartered in Rochester, New York, and is incorpor ...
), CRW CR2 CR3 ( Canon), ERF ( Epson), MEF ( Mamiya), MOS (
Leaf A leaf ( : leaves) is any of the principal appendages of a vascular plant stem, usually borne laterally aboveground and specialized for photosynthesis. Leaves are collectively called foliage, as in "autumn foliage", while the leaves, ...
), NEF NRW ( Nikon), ORF (
Olympus Olympus or Olympos ( grc, Ὄλυμπος, link=no) may refer to: Mountains In antiquity Greece * Mount Olympus in Thessaly, northern Greece, the home of the twelve gods of Olympus in Greek mythology * Mount Olympus (Lesvos), located in Le ...
), PEF ( Pentax), RW2 ( Panasonic) and ARW, SRF, SR2 (
Sony , commonly stylized as SONY, is a Japanese multinational conglomerate corporation headquartered in Minato, Tokyo, Japan. As a major technology company, it operates as one of the world's largest manufacturers of consumer and professional ...
), are based on TIFF, the Tagged Image File Format. These files may deviate from the TIFF standard in a number of ways, including the use of a non-standard file header, the inclusion of additional image tags and the encryption of some of the tagged data. Panasonic's raw converter corrects geometric distortion and
chromatic aberration In optics, chromatic aberration (CA), also called chromatic distortion and spherochromatism, is a failure of a lens to focus all colors to the same point. It is caused by dispersion: the refractive index of the lens elements varies with the w ...
on such cameras as the LX3, with necessary correction information presumably included in the raw. Phase One's raw converter
Capture One Capture One (also known as Capture One Pro) is a photography software suite. Capture One offers Capture One Pro for desktop, a tool to edit, catalog raw image file process, and tether. Capture One works with raw files from many different digita ...
also offers corrections for geometrical distortion,
chromatic aberration In optics, chromatic aberration (CA), also called chromatic distortion and spherochromatism, is a failure of a lens to focus all colors to the same point. It is caused by dispersion: the refractive index of the lens elements varies with the w ...
, purple fringing and keystone correction emulating the shift capability of tilt-shift in software and specially designed hardware, on most raw files from over 100 different cameras. The same holds for Canon's DPP application, at least for all more expensive cameras like all EOS DSLRs and the G series of compact cameras. DNG, the Adobe digital negative format, is an extension of the TIFF 6.0 format and is compatible with TIFF/EP, and uses various open formats and/or
standards Standard may refer to: Symbols * Colours, standards and guidons, kinds of military signs * Standard (emblem), a type of a large symbol or emblem used for identification Norms, conventions or requirements * Standard (metrology), an object t ...
, including Exif metadata, XMP metadata, IPTC metadata, CIE XYZ coordinates, ICC profiles, and
JPEG JPEG ( ) is a commonly used method of lossy compression for digital images, particularly for those images produced by digital photography. The degree of compression can be adjusted, allowing a selectable tradeoff between storage size and imag ...
.Adobe
DNG Specification
/ref>


Sensor image data

In
digital photography Digital photography uses cameras containing arrays of electronic photodetectors interfaced to an analog-to-digital converter (ADC) to produce images focused by a lens, as opposed to an exposure on photographic film. The digitized image ...
, the raw file plays the role that photographic film plays in film photography. Raw files thus contain the full dynamic range (typically 12- or 14-bit) data as read out from each of the camera's image sensor
pixel In digital imaging, a pixel (abbreviated px), pel, or picture element is the smallest addressable element in a raster image, or the smallest point in an all points addressable display device. In most digital display devices, pixels are the ...
s. The camera's sensor is almost invariably overlaid with a color filter array (CFA), usually a Bayer filter, consisting of a mosaic of a 2x2 matrix of red, green, blue and (second) green filters. One variation on the Bayer filter is the RGBE filter of the Sony Cyber-shot DSC-F828, which exchanged the green in the RG rows with " emerald" (a blue-green or cyan color). Other sensors, such as the Foveon X3 sensor, capture information directly in RGB form (using three pixel sensors in each location). This RGB raw data still needs to be processed to make an image file, because the raw RGB values correspond to the responses of the sensors, not to a standard color space like
sRGB sRGB is a standard RGB (red, green, blue) color space that HP and Microsoft created cooperatively in 1996 to use on monitors, printers, and the World Wide Web. It was subsequently standardized by the International Electrotechnical Commission ...
. As there is no color filter array, there is no need for demosaicing. Flatbed and film scanner sensors are typically straight narrow RGB or RGBI (where "I" stands for the additional infrared channel for automatic dust removal) strips that are swept across an image. The HDRi raw data format is able to store the infrared raw data, which can be used for
infrared cleaning Infrared cleaning is a technique used by some film scanners and flatbed scanners to reduce or remove the effect of dust and scratches upon the finished scan. It works by collecting an additional infrared channel from the scan at the same position ...
, as an additional 16-bit channel. The remainder of the discussion about raw files applies to them as well. Some scanners do not allow the host system access to the raw data at all, as a speed compromise. The raw data are processed very rapidly inside the scanner to select out the best part of the available dynamic range so only the result is passed to the computer for permanent storage, reducing the amount of data transferred and therefore the bandwidth requirement for any given speed of image throughput. To obtain an image from a raw file, this mosaic of data must be converted into standard RGB form. This is often referred to as "raw development". When converting from the four-sensor 2x2 Bayer-matrix raw form into RGB pixels, the green pair is used to control the luminance detail of the processed output pixel, while the red and blue, which each have half as many samples, are used mostly for the more slowly-varying chroma component of the image. If raw format data is available, it can be used in
high-dynamic-range imaging In photography and videography, multi-exposure HDR capture is a technique that creates extended or high dynamic range (HDR) images by taking and combining multiple exposures of the same subject matter at different exposure levels. Combining m ...
conversion, as a simpler alternative to the multi-exposure HDI approach of capturing three separate images, one underexposed, one correct and one overexposed, and "overlaying" one on top of the other.


Standardization

Providing a detailed and concise description of the content of raw files is highly problematic. There is no single raw format; formats can be similar or radically different. Different manufacturers use their own proprietary and typically undocumented formats, which are collectively known as raw format. Often they also change the format from one camera model to the next. Several major camera manufacturers, including Nikon, Canon and Sony, encrypt portions of the file in an attempt to prevent third-party tools from accessing them. Dave Coffin, creator of the dcraw program, discusses some of his successful reverse-engineering in this interview, and mentions his enthusiasm for the DNG format. This industry-wide situation of inconsistent formatting has concerned many photographers who worry that their valuable raw photos may someday become inaccessible, as computer operating systems and software programs become obsolete and abandoned raw formats are dropped from new software. The availability of high-quality
open source Open source is source code that is made freely available for possible modification and redistribution. Products include permission to use the source code, design documents, or content of the product. The open-source model is a decentralized so ...
software which decodes raw image formats, particularly dcraw, has helped to alleviate these concerns. An essay by Michael Reichmann and Juergen Specht stated "here are two solutions – the adoption by the camera industry of A: Public documentation of RAW '' ic' formats; past, present and future, or, more likely B: Adoption of a universal RAW '' ic' format". "Planning for SLibrary of Congress Collections" identifies raw-file formats as "less desirable file formats", and identifies DNG as a suggested alternative.Planning for US Library of Congress Collections
Preferences in Summary
/ref> DNG is the only raw image format for which industry-wide buy-in is being sought. It is based upon, and compatible with, the ISO standard raw image format ISO 12234-2, TIFF/EP, and is being used by ISO in their revision of that standard. The ISO standard raw image format is ISO 12234-2, better known as TIFF/EP. (TIFF/EP also supports "non-raw", or "processed", images). TIFF/EP provided a basis for the raw image formats of a number of cameras. For example, Nikon's NEF raw files are based on TIFF/EP, and include a tag which identifies the version of TIFF/EP they are based on. Adobe's DNG raw file format was based on TIFF/EP, and the DNG specification states "DNG ... is compatible with the TIFF-EP standard". Several cameras use DNG as their raw image format, so in that limited sense they use TIFF/EP too.Barry Pearson
Products from Camera Manufacturers that use DNG in some way
/ref> Adobe Systems launched this DNG raw image format in September 2004. By September 2006, several camera manufacturers had started to announce support for DNG in newer camera models, including Leica,
Samsung The Samsung Group (or simply Samsung) ( ko, 삼성 ) is a South Korean multinational manufacturing conglomerate headquartered in Samsung Town, Seoul, South Korea. It comprises numerous affiliated businesses, most of them united under the ...
, Ricoh, Pentax, Hasselblad (native camera support); and, Better Light (export).Barry Pearson
DNG support, to end-September 2006
/ref> The Leica Digital-Modul-R (DMR) was first to use DNG as its native format.Barry Pearson

/ref> In September 2009 Adobe stated that there were no known intellectual property encumbrances or license requirements for DNG. There is a "Digital Negative (DNG) Specification Patent License", but it does not actually state that there ''are'' any patents held on DNG, and the September 2009 statement was made at least 4 years after this license was published. TIFF/EP began its 5-year revision cycle in 2006. Adobe offered the DNG specification to ISO to be part of ISO's revised TIFF/EP standard. A progress report in October 2008 from ISO about the revision of TIFF/EP stated that the revision "... currently includes two "interoperability-profiles," "IP 1" for processed image data, using ".TIF" extension, and "IP 2" for "raw" image data, ".DNG" extension". It is "IP 2" that is relevant here. A progress report in September 2009 states that "This format will be similar to DNG 1.3, which serves as the starting point for development." DNG has been used by open-source developers. Use by camera makers varies: the largest companies such as Canon, Nikon, Sony, and some others, do not use DNG. Smaller companies and makers of "niche" cameras who might otherwise have difficulty getting support from software companies frequently use DNG as their native raw image format. Pentax uses DNG as an optional alternative to their own raw image format. There are 15 or more such companies, even including a few that specialize in movie cameras. In addition, most Canon point & shoot cameras can support DNG by using CHDK. Canon Raw v2 (CR2) is mostly based on TIFF and lossless Jpeg ITU-T81. Canon Raw v3 (CR3) is based on ISO Base Media File Format (ISO/IEC 14496-12), with custom tags, and unknown "crx" codec. Sony Alpha RAW (ARW) is based on TIFF file format, proprietary Makernote fields and compressions methods.


Processing

To be viewed or printed, the output from a camera's image sensor has to be processed, that is, converted to a photographic rendering of the scene, and then stored in a standard
raster graphics upright=1, The Smiley, smiley face in the top left corner is a raster image. When enlarged, individual pixels appear as squares. Enlarging further, each pixel can be analyzed, with their colors constructed through combination of the values for ...
format such as
JPEG JPEG ( ) is a commonly used method of lossy compression for digital images, particularly for those images produced by digital photography. The degree of compression can be adjusted, allowing a selectable tradeoff between storage size and imag ...
. This processing, whether done in-camera or later in a raw-file converter, involves a number of operations, typically including: * decoding – image data of raw files are typically encoded for compression purpose, but also often for obfuscation purpose (e.g. raw files from Canon or Nikon cameras). * demosaicing – interpolating the partial raw data received from the color-filtered image sensor into a matrix of colored pixels. * defective pixel removal – replacing data in known bad locations with interpolations from nearby locations * white balancing – accounting for color temperature of the light that was used to take the photograph * noise reduction – trading off detail for smoothness by removing small fluctuations * color translation – converting from the camera native
color space A color space is a specific organization of colors. In combination with color profiling supported by various physical devices, it supports reproducible representations of colorwhether such representation entails an analog or a digital represen ...
defined by the spectral sensitivities of the image sensor to an output color space (typically
sRGB sRGB is a standard RGB (red, green, blue) color space that HP and Microsoft created cooperatively in 1996 to use on monitors, printers, and the World Wide Web. It was subsequently standardized by the International Electrotechnical Commission ...
for JPEG) *
tone reproduction In the theory of photography, tone reproduction is the mapping of scene luminance and color to print reflectance or display luminance, with the aim of subjectively "properly" reproducing brightness and "brightness differences". The reproduction ...
 – the scene luminance captured by the camera sensors and stored in the raw file (with a
dynamic range Dynamic range (abbreviated DR, DNR, or DYR) is the ratio between the largest and smallest values that a certain quantity can assume. It is often used in the context of signals, like sound and light. It is measured either as a ratio or as a base ...
of typically 10 or more bits) needs to be rendered for pleasing effect and correct viewing on low-dynamic-range monitors or prints; the tone-reproduction rendering often includes separate tone mapping and
gamma compression Gamma correction or gamma is a nonlinear operation used to encode and decode luminance or tristimulus values in video or still image systems. Gamma correction is, in the simplest cases, defined by the following power-law expression: : V_\text = ...
steps. * compression – for example JPEG compression Demosaicing is only performed for CFA sensors; it is not required for
3CCD A three-CCD (3CCD) camera is a camera whose imaging system uses three separate charge-coupled devices (CCDs), each one receiving filtered red, green, or blue color ranges. Light coming in from the lens is split by a beam-splitter prism into th ...
or
Foveon X3 The Foveon X3 sensor is a digital camera image sensor designed by Foveon, Inc., (now part of Sigma Corporation) and manufactured by Dongbu Electronics. It uses an array of photosites that consist of three vertically stacked photodiodes. Each o ...
sensors. Cameras and image processing software may also perform additional processing to improve image quality, for example: * removal of systematic noise –
bias frame In digital photography, a bias frame is an image obtained from an opto-electronic image sensor, with no actual exposure time. The image so obtained only contains unwanted signal due to the electronics that elaborate the sensor data, and not unwant ...
subtraction and flat-field correction * dark frame subtraction * optical correction – lens distortion, vignetting,
chromatic aberration In optics, chromatic aberration (CA), also called chromatic distortion and spherochromatism, is a failure of a lens to focus all colors to the same point. It is caused by dispersion: the refractive index of the lens elements varies with the w ...
and color fringing correction * contrast manipulation * increasing
visual acuity Visual acuity (VA) commonly refers to the clarity of vision, but technically rates an examinee's ability to recognize small details with precision. Visual acuity is dependent on optical and neural factors, i.e. (1) the sharpness of the retinal ...
by unsharp masking *
dynamic range compression Dynamic range compression (DRC) or simply compression is an audio signal processing operation that reduces the volume of loud sounds or amplifies quiet sounds, thus reducing or ''compressing'' an audio signal's dynamic range. Compression is ...
– lighten shadow regions without blowing out highlight regions When a camera saves a raw file it defers most of this processing; typically the only processing performed is the removal of defective pixels (the DNG specification requires that defective pixels be removed before creating the file). Some camera manufacturers do additional processing before saving raw files; for example, Nikon has been criticized by astrophotographers for applying noise reduction before saving the raw file. Some raw formats also allow nonlinear quantization. This nonlinearity allows the compression of the raw data without visible degradation of the image by removing invisible and irrelevant information from the image. Although noise is discarded this has nothing to do with (visible) noise reduction.


Benefits

Nearly all digital cameras can process the image from the sensor into a JPEG file using settings for white balance, color saturation, contrast, and sharpness that are either selected automatically or entered by the photographer before taking the picture. Cameras that produce raw files save these settings in the file, but defer the processing. This results in an extra step for the photographer, so raw is normally only used when additional computer processing is intended. However, raw has numerous advantages over JPEG such as: * Many more shades of colors compared to JPEG files - raw files have 12 or 14 bits of intensity information per channel (4096-16384 shades), compared to JPEG's gamma-compressed 8 bits (256 shades). * Higher image quality. Because all the calculations (such as applying
gamma correction Gamma correction or gamma is a nonlinear operation used to encode and decode luminance or tristimulus values in video or still image systems. Gamma correction is, in the simplest cases, defined by the following power-law expression: : V_\tex ...
, demosaicing, white balance,
brightness Brightness is an attribute of visual perception in which a source appears to be radiating or reflecting light. In other words, brightness is the perception elicited by the luminance of a visual target. The perception is not linear to luminance, ...
, contrast, etc...) used to generate pixel values (in RGB format for most images) are performed in one step on the base data, the resultant pixel values will be more accurate and exhibit less posterization. * Bypassing of undesired steps in the camera's processing, including sharpening and noise reduction * JPEG images are typically saved using a
lossy compression In information technology, lossy compression or irreversible compression is the class of data compression methods that uses inexact approximations and partial data discarding to represent the content. These techniques are used to reduce data si ...
format (though a lossless JPEG compression is now available). Raw formats typically use lossless compression or high-quality lossy compression. * Finer control. Raw conversion software allows users to manipulate more parameters (such as lightness, white balance, hue, saturation, etc...) and do so with greater variability. For example, the white point can be set to any value, not just discrete preset values like "daylight" or "incandescent". Furthermore, the user can typically see a preview while adjusting these parameters. * The
color space A color space is a specific organization of colors. In combination with color profiling supported by various physical devices, it supports reproducible representations of colorwhether such representation entails an analog or a digital represen ...
can be set to whatever is desired. * Different demosaicing algorithms can be used, not just the one coded into the camera. * The contents of raw files include more information, and potentially higher quality, than the converted results, in which the rendering parameters are fixed, the color gamut is clipped, and there may be quantization and compression artifacts. * Large transformations of the data, such as increasing the exposure of a dramatically under-exposed photo, result in fewer visible artifacts when done from raw data than when done from already rendered image files. Raw data leave more scope for both corrections and artistic manipulations, without resulting in images with visible flaws such as posterization. * All the changes made on a raw image file are non-destructive; that is, only the metadata that controls the rendering is changed to make different output versions, leaving the original data unchanged. * To some extent, raw-format photography eliminates the need to use the HDRI technique, allowing a much better control over the mapping of the scene intensity range into the output tonal range, compared to the process of automatically mapping to
JPEG JPEG ( ) is a commonly used method of lossy compression for digital images, particularly for those images produced by digital photography. The degree of compression can be adjusted, allowing a selectable tradeoff between storage size and imag ...
or other 8-bit representation.


Drawbacks

* Camera raw file size is typically 2–6 times larger than JPEG file size. While use of raw formats avoids the compression artifacts inherent in JPEG, fewer images can fit on a given
memory card A memory card is an electronic data storage device used for storing digital information, typically using flash memory. These are commonly used in digital portable electronic devices. They allow adding memory to such devices using a card in a so ...
. However, the large sizes and low prices of modern memory cards mitigate this. Burst mode shooting tends to be slower and shorter due to the larger file size. * Most raw formats implement lossless data compression to reduce the size of the files without affecting image quality. But some others use lossy data compression where quantization and filtering is performed on the image data. Sony's lossy 11+7 bit delta compression of raw data causes posterization under certain conditions. Several Nikon cameras let photographers choose between no compression, lossless compression or lossy compression for their raw images. Red Digital Cinema Camera Company introduced .r3d Redcode Raw with compression ratio from 3:1 to 18:1 which depends on resolution and frame rates. * The standard raw image format (ISO 12234-2, TIFF/EP) is not widely accepted. DNG, the potential candidate for a new standard format, has not been adopted by many major camera companies. (See "
Standardization Standardization or standardisation is the process of implementing and developing technical standards based on the consensus of different parties that include firms, users, interest groups, standards organizations and governments. Standardizatio ...
" section.) Numerous different raw formats are currently in use and new raw formats keep appearing, while others are abandoned. * Because of the lack of widespread adoption of a standard raw format, more specialized software may be required to open raw files than for standardized formats like JPEG or TIFF. Software developers have to frequently update their products to support the raw formats of the latest cameras but open source implementations like dcraw make it easier * The time taken in the image workflow is an important factor when choosing between raw and ready-to-use image formats. With modern photo editing software the additional time needed to process raw images has been greatly reduced but it still requires an extra step in workflow in comparison with using out-of-camera JPEGs.


Software support

Cameras that support raw files typically come with
proprietary software Proprietary software is software that is deemed within the free and open-source software to be non-free because its creator, publisher, or other rightsholder or rightsholder partner exercises a legal monopoly afforded by modern copyright and i ...
for conversion of their raw image data into standard RGB images. Other processing and conversion
programs Program, programme, programmer, or programming may refer to: Business and management * Program management, the process of managing several related projects * Time management * Program, a part of planning Arts and entertainment Audio * Progra ...
and plugins are available from vendors that have either licensed the technology from the camera manufacturer or reverse-engineered the particular raw format and provided their own processing algorithms.


Operating system support


Apple macOS and iOS

In January 2005,
Apple An apple is an edible fruit produced by an apple tree (''Malus domestica''). Apple trees are cultivated worldwide and are the most widely grown species in the genus '' Malus''. The tree originated in Central Asia, where its wild ancest ...
released iPhoto 5, which offered basic support for viewing and editing many raw file formats. In April 2005, Apple's OS X 10.4 brought raw support to the operating system's ImageIO framework, enabling raw support automatically in the majority of macOS applications both from Apple (such as Preview, macOS's PDF and image viewing application, and
Aperture In optics, an aperture is a hole or an opening through which light travels. More specifically, the aperture and focal length of an optical system determine the cone angle of a bundle of rays that come to a focus in the image plane. An ...
, a photo post-production software package for professionals) as well as all third party applications which make use of the ImageIO frameworks. Semi-regular updates to macOS generally include updated support for new raw formats introduced in the intervening months by camera manufacturers. In 2016, Apple announced that iOS 10 would allow capturing raw images on selected hardware, and third party applications will be able to edit raw images through the operating system's Core Image framework. In 2020, Apple released the iPhone 12 Pro and
iPhone 12 Pro Max The iPhone 12 Pro and iPhone 12 Pro Max are smartphones designed, developed, and marketed by Apple Inc. They are the flagship smartphones in the fourteenth generation of the iPhone, succeeding the iPhone 11 Pro and iPhone 11 Pro Max, respec ...
. Both of these devices support Apple ProRAW (as of iOS 16.0.3). ProRAW photos are 12 bit DNG files.


Microsoft Windows


=Windows Camera Codec Pack

=
Microsoft Microsoft Corporation is an American multinational technology corporation producing computer software, consumer electronics, personal computers, and related services headquartered at the Microsoft Redmond campus located in Redmond, Washi ...
supplies the free Windows Camera Codec Pack for
Windows XP Windows XP is a major release of Microsoft's Windows NT operating system. It was release to manufacturing, released to manufacturing on August 24, 2001, and later to retail on October 25, 2001. It is a direct upgrade to its predecessors, Wind ...
and later versions of Microsoft Windows, to integrate raw file viewing and printing into some Microsoft Windows tools. The codecs allow native viewing of raw files from a variety of specific cameras in Windows Explorer / File Explorer and Windows Live Photo Gallery / Windows Photo Gallery, in Windows Vista and
Windows 7 Windows 7 is a major release of the Windows NT operating system developed by Microsoft. It was Software release life cycle#Release to manufacturing (RTM), released to manufacturing on July 22, 2009, and became generally available on October 22, ...
. As of October 2016, Microsoft had not released an updated version since April 2014, which supported some specific cameras by the following manufacturers: Canon, Casio, Epson, Fujifilm, Kodak, Konica Minolta, Leica, Nikon, Olympus, Panasonic, Pentax,Samsung, and Sony. For windows 10 this was essentially replaced in 2019 by Microsoft Raw Image Extension.


=Raw Image Extension

=
Microsoft Microsoft Corporation is an American multinational technology corporation producing computer software, consumer electronics, personal computers, and related services headquartered at the Microsoft Redmond campus located in Redmond, Washi ...
as of 2019 supplies the free Raw Image Extension for
Windows 10 Windows 10 is a major release of Microsoft's Windows NT operating system. It is the direct successor to Windows 8.1, which was released nearly two years earlier. It was released to manufacturing on July 15, 2015, and later to retail on ...
and later versions of Microsoft Windows, to integrate raw file viewing and printing into some Microsoft Windows tools. The Extension allows native viewing of raw files from many mid- to high-end digital cameras in Windows Explorer / File Explorer and
Microsoft Photos Microsoft Photos is an image viewer, image organizer, raster graphics editor, photo sharing app, and video clip editor developed by Microsoft. It was first included in Windows 8 as a functional replacement for Windows Photo Viewer. Photos ha ...
.


=Windows Imaging Component (WIC)

= Microsoft Windows supports the Windows Imaging Component (WIC) codec standard. WIC was available as a stand-alone downloadable program for Windows XP Service Pack 2, and built into
Windows XP Service Pack 3 Windows XP is a major release of Microsoft's Windows NT operating system. It was released to manufacturing on August 24, 2001, and later to retail on October 25, 2001. It is a direct upgrade to its predecessors, Windows 2000 for high-end ...
, Windows Vista, and later versions. Windows Explorer / File Explorer, and Windows Live Photo Gallery / Windows Photo Gallery can view raw formats for which the necessary WIC codecs are installed. Canon, Nikon, Sony, Olympus and Pentax have released WIC codecs for their cameras, although some manufactures only provide codec support for the 32-bit versions of Microsoft Windows. Commercial DNG WIC codecs are also available from Ardfry Imaging, and others; and FastPictureViewer Professional installs a set of WIC-enabled image decoders.


Android

Android Lollipop 5.0, introduced in late 2014, can allow
smartphone A smartphone is a portable computer device that combines mobile telephone and computing functions into one unit. They are distinguished from feature phones by their stronger hardware capabilities and extensive mobile operating systems, whi ...
s to take raw images, useful in low-light situations.


Free and open source software

* darktable is a raw-workflow tool for macOS, Microsoft Windows, Linux and other open Unix-like operating systems. The software features native 32-bit floating-point processing and a plugin architecture. * dcraw is a program which reads most raw formats and can be made to run on operating systems not supported by most commercial software (such as
Unix Unix (; trademarked as UNIX) is a family of multitasking, multiuser computer operating systems that derive from the original AT&T Unix, whose development started in 1969 at the Bell Labs research center by Ken Thompson, Dennis Ritchie, ...
). LibRaw is an API library based on dcraw, offering a more convenient interface for reading and converting raw files. HDR PhotoStudio and AZImage are some of the commercial applications that use Libraw. Jrawio is another API library, written in pure
Java Java (; id, Jawa, ; jv, ꦗꦮ; su, ) is one of the Greater Sunda Islands in Indonesia. It is bordered by the Indian Ocean to the south and the Java Sea to the north. With a population of 151.6 million people, Java is the world's mo ...
code and compliant to the standard Java Image I/O API. * digiKam is an advanced digital photo management application for Linux, Microsoft Windows, and Mac OS X that supports raw processing. * ExifTool supports the reading, writing and editing of metadata in raw image files. ExifTool supports many different types of metadata including Exif, GPS,
IPTC The International Press Telecommunications Council (IPTC), based in London, United Kingdom, is a consortium of the world's major news agencies, other news providers and news industry vendors and acts as the global standards body of the news media. ...
, XMP, JFIF, GeoTIFF, ICC Profile, Photoshop IRB, FlashPix, AFCP and ID3, as well as the maker notes of many digital cameras. * ImageMagick, a software suite for image manipulation and conversion, reads many different raw file formats. ImageMagick is available for Linux/Unix, Mac OS, Microsoft Windows, and other platforms. * LightZone is a photo editing program providing the ability to edit many raw formats natively. Most tools are raw converters, but LightZone allows a user to edit a raw file as if it were TIFF or JPEG. The project was discontinued in September 2011 and reinstated as an open source project in December 2012. * Rawstudio is a raw format developer. * RawTherapee is a raw developer supporting Linux, OS X and Microsoft Windows operating systems. It features a native 32-bit floating point pipeline. * Shotwell is an image organizer available for all major operating systems with the ability to view and edit raw images and has built-in social networking upload capability. * UFRaw is a frontend which uses dcraw as a back end. It can be used as a GIMP plugin and is available for most operating systems.


Proprietary software

In addition to those listed under operating system support, above, the commercial software described below support raw formats.


Dedicated raw converters

The following products were launched as raw processing software to process a wide range of raw files, and have this as their main purpose: * Adobe Camera Raw - used internally by various Adobe Products for raw processing, and as the raw engine in Lightroom. * Adobe Photoshop Lightroom *
Corel AfterShot Pro Corel AfterShot Pro is a commercial and proprietary raw image processing software by Corel. It is based on Bibble, which Corel acquired. It is notable among commercial raw software for offering a native and up to date Linux version. Version 2 was ...
(formerly Bibble Pro) *
Capture One Capture One (also known as Capture One Pro) is a photography software suite. Capture One offers Capture One Pro for desktop, a tool to edit, catalog raw image file process, and tether. Capture One works with raw files from many different digita ...
* DxO PhotoLab (formerly DxO Optics Pro) * Hasselblad's Phocus relies on operating system support to process non-Hasselblad files * Photo Ninja * Silkypix Developer Studio * Raw Power. A macOS raw processing application and Apple Photos extension.


Others

* ACDSee Pro is photo management and editing software that supports the raw formats of 21 camera manufacturers. *
Adobe Bridge Adobe Bridge is a free digital asset management app made by Adobe Inc. and first released with Adobe Creative Suite, Adobe Creative Suite 2. It is a mandatory component of Adobe Creative Suite, Adobe eLearning Suite, Adobe Technical Communication ...
is photo management software that supports the raw formats and converting. *
Adobe Photoshop Adobe Photoshop is a raster graphics editor developed and published by Adobe Inc. for Windows and macOS. It was originally created in 1988 by Thomas and John Knoll. Since then, the software has become the industry standard not only in rast ...
supports raw formats (as of version CS2). *
Affinity Photo Affinity Photo is a raster graphics editor developed by Serif Ltd. for iOS, macOS, and Windows, alongside Affinity Designer and Affinity Publisher. Development of Affinity Photo started in 2009 as a raster graphics editor for macOS. Its first v ...
supports raw formats. * Blackmagic Design DaVinci Resolve *''DNG Viewer'' is a free (32bit) viewer for Microsoft Windows based on dcraw. The very simple viewer is installed as ''RAW Image Viewer'', supports some lossless operations, and can save raw images as BMP,
JPEG JPEG ( ) is a commonly used method of lossy compression for digital images, particularly for those images produced by digital photography. The degree of compression can be adjusted, allowing a selectable tradeoff between storage size and imag ...
, PNG, or TIFF. *FastRawViewer is a dedicated raw viewer that runs on Mac and Microsoft Windows, and currently claims to support all raw formats except Foveon. * Helicon Filter supports raw formats. * IrfanView is a freeware/shareware basic editor with support for raw files. * Konvertor support for raw formats is based on dcraw. * Paint Shop Pro contains raw support, although as in the case of most editors updates to the program may be necessary to attain compatibility with newer raw formats as they are released. * PhotoLine supports raw formats. *
Picasa Picasa was a cross-platform image organizer and image viewer for organizing and editing digital photos, integrated with a now defunct photo-sharing website, originally created by a company named Lifescape (which at that time was incubated by I ...
(development discontinued) is a free editor and organizer from
Google Google LLC () is an American Multinational corporation, multinational technology company focusing on Search Engine, search engine technology, online advertising, cloud computing, software, computer software, quantum computing, e-commerce, ar ...
. It can read and display many raw formats, but like iPhoto, Picasa provides only limited tools for processing the data in a raw file. * Silver B&W Photo Converter offers basic support for editing raw file formats supported by macOS. *
SilverFast SilverFast is the name of a family of software for image scanning and processing, including photos, documents and slides, developed by LaserSoft Imaging. There are also other applications for image processing using digital cameras or printers ...
supports raw formats. *Utiful Photo Organizer is a photo organizing app for iPhone and iPad that supports raw formats, i.e. it can store and display raw formats but also export them in the original raw format as well. *Wild Media Server (UPnP, DLNA, HTTP) support for raw formats is based on libraw. * Transloadit is a
Software as a service Software as a service (SaaS ) is a software licensing and delivery model in which software is licensed on a subscription basis and is centrally hosted. SaaS is also known as "on-demand software" and Web-based/Web-hosted software. SaaS is co ...
that supports converting raw files into other formats * XnView support for raw formats is mostly based on dcraw.


HTML5 browser-based apps

A new class of raw file processing tools appeared with the development of HTML5 - rich Internet applications.
Raw.pics.io
is able to render and apply basic adjustments to raw and DNG files.


Raw filename extensions and respective camera manufacturers or standard

* .3fr ( Hasselblad) * .ari ( Arri Alexa) * .arw .srf .sr2 (
Sony , commonly stylized as SONY, is a Japanese multinational conglomerate corporation headquartered in Minato, Tokyo, Japan. As a major technology company, it operates as one of the world's largest manufacturers of consumer and professional ...
) * .bay (
Casio is a Japanese multinational electronics manufacturing corporation headquartered in Shibuya, Tokyo, Japan. Its products include calculators, mobile phones, digital cameras, electronic musical instruments, and analogue and digital watches. ...
) * .braw ( Blackmagic Design) * .cri ( Cintel) * .crw .cr2 .cr3 ( Canon) * .cap .iiq .eip ( Phase_One) * .dcs .dcr .drf .k25 .kdc (
Kodak The Eastman Kodak Company (referred to simply as Kodak ) is an American public company that produces various products related to its historic basis in analogue photography. The company is headquartered in Rochester, New York, and is incorpor ...
) * .dng ( Adobe) * .erf ( Epson) * .fff (Imacon/ Hasselblad raw) * .gpr ( GoPro) * .jxs ( JPEG XS Bayer profile) * .mef ( Mamiya) *
.mdc MDC may refer to: Arts *Macau Design Centre, an art center in Macau *MDC (band) (Millions of Dead Cops), an American rock band *''M.D.C. - Maschera di cera'', a 1997 Italian horror film *Marinette Dupain-Cheng, the protagonist of Miraculous: Tales ...
( Minolta, Agfa) * .mos (
Leaf A leaf ( : leaves) is any of the principal appendages of a vascular plant stem, usually borne laterally aboveground and specialized for photosynthesis. Leaves are collectively called foliage, as in "autumn foliage", while the leaves, ...
) * .mrw ( Minolta, Konica Minolta) * .nef .nrw ( Nikon) * .orf (
Olympus Olympus or Olympos ( grc, Ὄλυμπος, link=no) may refer to: Mountains In antiquity Greece * Mount Olympus in Thessaly, northern Greece, the home of the twelve gods of Olympus in Greek mythology * Mount Olympus (Lesvos), located in Le ...
) * .pef .ptx ( Pentax) * .pxn (
Logitech Logitech International S.A. ( ; often shortened to Logi) is a Swiss multinational manufacturer of computer peripherals and software, with headquarters in Lausanne, Switzerland, and Newark, California. The company has offices throughout Europe ...
) * .R3D ( RED Digital Cinema) * .raf ( Fuji) * .raw .rw2 ( Panasonic) * .raw .rwl .dng ( Leica) * .rwz (
Rawzor Rawzor is a proprietary lossless image compression software which compresses camera raw images without any loss in image quality or meta-information. It is available for Microsoft Windows and Mac OS X. Features * Supports all major raw forma ...
) * .srw (
Samsung The Samsung Group (or simply Samsung) ( ko, 삼성 ) is a South Korean multinational manufacturing conglomerate headquartered in Samsung Town, Seoul, South Korea. It comprises numerous affiliated businesses, most of them united under the ...
) * .tco (intoPIX) * .x3f ( Sigma)


Raw bitmap files

Less commonly, raw may also refer to a generic image file format containing only pixel color values. For example, "Photoshop Raw" files (.raw) contain 8-bits-per-channel RGB data in top-to-bottom, left-to-right pixel order. Dimensions must be input manually when such files are re-opened, or a square image is assumed. Due to its simplicity, this format is very open and compatible, though limited by its lack of metadata and run-length encoding. Especially in photography and graphic design, where color management and extended gamuts are important, and large images are common.


See also

*
List of cameras supporting a raw format Still cameras The following digital cameras allow photos to be taken and saved in at least one raw image format. Some cameras support more than one, usually a proprietary format and Digital Negative (file format), Digital Negative (DNG). Agf ...
* Raw audio format


References


External links

* Adobe
Understanding Raw Files
; background on how camera sensors treat raw files
Open RAW
a
working group A working group, or working party, is a group of experts working together to achieve specified goals. The groups are domain-specific and focus on discussion or activity around a specific subject area. The term can sometimes refer to an interdis ...
of photographers, software engineers and other people interested in advocating the open documentation of digital camera raw files * Atkins, Bob:
Raw, JPEG, and TIFF
; common file formats compared. * Coupe, Adam:

; Article with diagrams explaining raw data and its advantages. * Goldstein, Jim M.:

"; an editorial.
Basic Photography lesson in Camera Raw
A pros and cons approach to the discussion of shooting in Camera Raw * Clevy, Laurent:
Inside the Canon RAW format v2: understanding the .CR2 file format
* Foi, Alessandro:

; with Matlab software and raw-data samples of Canon, Nikon, Fujifilm cameras. * Clevy, Laurent:
Describing the Canon Raw v3 (CR3) file format
{{Authority control Graphics file formats Digital photography