<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://fileformats.archiveteam.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://fileformats.archiveteam.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Hub</id>
		<title>Just Solve the File Format Problem - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://fileformats.archiveteam.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Hub"/>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/Special:Contributions/Hub"/>
		<updated>2026-04-13T06:21:43Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.19.2</generator>

	<entry>
		<id>http://fileformats.archiveteam.org/wiki/P-touch_Editor_Label</id>
		<title>P-touch Editor Label</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/P-touch_Editor_Label"/>
				<updated>2021-02-05T06:01:10Z</updated>
		
		<summary type="html">&lt;p&gt;Hub: /* Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|subcat=Document&lt;br /&gt;
|extensions={{ext|lbt}}, {{ext|lbx}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
This format is used by Brother's P-touch Editor range of label-making software. '''.lbt''' files appear to be created by P-touch Editor Lite, with '''.lbx''' files created by the fully-featured editor.&lt;br /&gt;
&lt;br /&gt;
The format appears to store a range of information about the contents of the label (text / image, formatting information), as well as information about the labelling device used and the label itself (length / width). A sample '''.lbt''' file can be found [https://docs.google.com/file/d/0Bx6iNywJoU6Ub1ZkZE9pdGQ1TEU/edit here]&lt;br /&gt;
&lt;br /&gt;
'''.lbx''' is a ZIP file containing some XML file using a Brother proprietary schema and eventually some '''.bmp''' files.&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.brother.com/product/dev/label/editor/index.htm P-touch editor]&lt;/div&gt;</summary>
		<author><name>Hub</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/wiki/Cameras_and_Digital_Image_Sensors</id>
		<title>Cameras and Digital Image Sensors</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/Cameras_and_Digital_Image_Sensors"/>
				<updated>2019-08-08T03:58:50Z</updated>
		
		<summary type="html">&lt;p&gt;Hub: /* Software */ updated URL&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|thiscat=Cameras and Digital Image Sensors&lt;br /&gt;
|locfdd={{LoCFDD|fdd000241}}&lt;br /&gt;
|image=Old-camera-1352392502n6P.jpg&lt;br /&gt;
}}&lt;br /&gt;
Specialized formats (mainly raw image formats) used by digital cameras and scanners&lt;br /&gt;
&lt;br /&gt;
''See also:''&lt;br /&gt;
* [[Graphics]]&lt;br /&gt;
* [[Scientific Data formats]] - Telescope, microscope, and other formats&lt;br /&gt;
* [[Geospatial]]&lt;br /&gt;
* [[Health and Medicine]] - Medical imaging&lt;br /&gt;
&lt;br /&gt;
== Raw image formats ==&lt;br /&gt;
(Minimally-processed data from digital image sensors, usually digital cameras)&lt;br /&gt;
&lt;br /&gt;
* [[Arriflex D-20]]: .ari&lt;br /&gt;
* [[BAY]] (Casio)&lt;br /&gt;
* [[Camera Image File Format]] (CIFF) as used by Canon: .crw&lt;br /&gt;
* [[Canon RAW 2]]: .cr2&lt;br /&gt;
* [[CHDK raw]]: (Older-style CHDK RAW files)&lt;br /&gt;
* [[DNG]] (Digital Negative): .dng (Adobe)&lt;br /&gt;
* [[Epson ERF]]&lt;br /&gt;
* [[Fujifilm RAF]]&lt;br /&gt;
* [[Hasselblad 3FR]]&lt;br /&gt;
* [[HDRiRAW]]&lt;br /&gt;
* [[Imacon 3F]]: .fff&lt;br /&gt;
* [[Kodak]]: .dcs, .dcr, .drf, .k25, .kdc&lt;br /&gt;
* [[Leaf MOS]]&lt;br /&gt;
* [[Leica]]: .raw, .rw2, .dng&lt;br /&gt;
* [[Logitech]]: .pxn&lt;br /&gt;
* [[Lytro]]: .lfp&lt;br /&gt;
* [[Mamiya MEF]]&lt;br /&gt;
* [[Minolta MDC (Minolta RD-175)]]&lt;br /&gt;
* [[Minolta MRW]]&lt;br /&gt;
* [[Mitsubishi DJ-1000]]: .dat&lt;br /&gt;
* [[Nikon]]: .nef, .nrw, .ndf&lt;br /&gt;
* [[Nokia digital pictures]]: .nrw&lt;br /&gt;
* [[Olympus ORF]]&lt;br /&gt;
* [[Panasonic RAW/RW2]]: .raw, .rw2&lt;br /&gt;
* [[Pentax PEF]]&lt;br /&gt;
* Phase One [[IIQ]] Raw&lt;br /&gt;
* [[Phase One]]: .cap, .eip&lt;br /&gt;
* [[Porst]]&lt;br /&gt;
* [[Rawzor]]: .rwz&lt;br /&gt;
* [[RED digital pictures]]: .r3d&lt;br /&gt;
* [[Rollei RDC]]: .rdc&lt;br /&gt;
* [[Samsung SRW]]&lt;br /&gt;
* [[Sony ARW]]&lt;br /&gt;
* [[Sony SRF]]&lt;br /&gt;
* [[Sony SR2]] ({{PRONOM|fmt/1126}})&lt;br /&gt;
* [[TIFF/EP]] (ISO 12234-2)&lt;br /&gt;
* [[X3F]] (Sigma / Foveon)&lt;br /&gt;
&lt;br /&gt;
== Other formats ==&lt;br /&gt;
&lt;br /&gt;
* [[AAE sidecar format]] - Adjustment data&lt;br /&gt;
* [[Canon EOS C300 Custom Picture Profile]] (CPF) - Camera settings&lt;br /&gt;
* [[Canon XF-AVC]] (video)&lt;br /&gt;
* [[DCF]]&lt;br /&gt;
* [[DNG camera profile]]&lt;br /&gt;
* [[FPF (FLIR)]]&lt;br /&gt;
* [[J6I]] - Ricoh Digital Camera image file&lt;br /&gt;
* [[PCO B16]] - Image format used by PCO software&lt;br /&gt;
* [[PSF (PhotoStudio)]] - Image format used by Canon software&lt;br /&gt;
* [[Sony Mavica 411]] - Thumbnail image&lt;br /&gt;
* [[ZoomBrowser Ex thumbnail cache]]&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
Most of the software listed here is based on dcraw.&lt;br /&gt;
&lt;br /&gt;
* [http://www.cybercom.net/~dcoffin/dcraw/ dcraw]&lt;br /&gt;
** [http://www.cybercom.net/~dcoffin/dcraw/#others dcraw's list of other raw photo decoders]&lt;br /&gt;
* [[Konvertor]]&lt;br /&gt;
* [https://libopenraw.freedesktop.org/libopenraw/ libopenraw]&lt;br /&gt;
* [http://www.libraw.org/ LibRaw]&lt;br /&gt;
* [http://ufraw.sourceforge.net/ UFRaw]&lt;br /&gt;
* [[Netpbm]]: cameratopam&lt;br /&gt;
* [[XnView]]&lt;br /&gt;
* [http://rawtherapee.com/ RawTherapee]&lt;br /&gt;
* [http://rawstudio.org/ Rawstudio]&lt;br /&gt;
* [https://www.darktable.org/ darktable]&lt;br /&gt;
* [http://rawspeed.org/ RawSpeed]&lt;br /&gt;
* [http://www.sno.phy.queensu.ca/~phil/exiftool/ ExifTool]&lt;br /&gt;
* [http://www.exiv2.org/ Exiv2]&lt;br /&gt;
&lt;br /&gt;
== Sample files ==&lt;br /&gt;
* [http://www.rawsamples.ch/index.php/en/ Raw Samples: sample files from many digital camera formats]&lt;br /&gt;
* https://github.com/drewnoakes/metadata-extractor-images&lt;br /&gt;
* http://rawtherapee.com/shared/test_images/&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
* [[Wikipedia:Raw image format|Wikipedia: Raw image format]]&lt;br /&gt;
* [http://lewiscollard.com/cameras/hdr-sucks/ HDR is stupid and it sucks]&lt;br /&gt;
* [http://opensource.samsung.com/ Samsung source code (including for their digital cameras)]&lt;br /&gt;
* [http://teacherdudebbq.blogspot.co.uk/2012/07/riot-photographers-decalogue.html How to photograph riots]&lt;br /&gt;
* [http://imgur.com/gallery/Kl0nI World's first digital camera (1975)]&lt;br /&gt;
* [http://www.openraw.org/ OpenRAW] - A mostly-defunct initiative to lobby for the documentation of RAW formats&lt;br /&gt;
** [http://www.openraw.org/info/index.html The RAW Problem]&lt;br /&gt;
* [http://www.dpconline.org/blog/personal-digital-preservation-richard-wright Personal Digital Preservation: Photographs and Video]&lt;/div&gt;</summary>
		<author><name>Hub</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/wiki/Camera_Image_File_Format</id>
		<title>Camera Image File Format</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/Camera_Image_File_Format"/>
				<updated>2013-04-05T16:04:46Z</updated>
		
		<summary type="html">&lt;p&gt;Hub: /* Cameras */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|subcat=Cameras and Digital Image Sensors&lt;br /&gt;
|extensions={{ext|crw}}&lt;br /&gt;
|mimetypes={{mimetype|image/x-canon-crw}}&lt;br /&gt;
|released=1997&lt;br /&gt;
|locfdd={{LoCFDD|fdd000241}}&lt;br /&gt;
}}&lt;br /&gt;
The '''Camera Image File Format''', sometimes called the '''Canon RAW (CRW) format''', was used by some early [[Canon]] digital cameras. It was replaced by the [[Canon RAW 2|CR2 format]] starting with the EOS 20D in 2004. The .crw extension is [[CHDK raw|sometimes used by CHDK]], but this [http://chdk.wikia.com/wiki/Raw is a different file format].&lt;br /&gt;
&lt;br /&gt;
==Cameras==&lt;br /&gt;
The original CRW file format was used on Canon's early x86-based cameras running Datalight ROM-DOS, from 2000 to 2004. All the early Canon digital SLRs used this format, and some compact cameras did too. The following cameras can generate files in the CRW format:&lt;br /&gt;
&lt;br /&gt;
* '''Canon EOS D30''' (2001), the first all-Canon DSLR. Not to be confused with the 30D, which is a completely different camera.&lt;br /&gt;
* '''Canon EOS D60''' (2002), not to be confused with the 60D, which is a completely different camera&lt;br /&gt;
* '''Canon EOS 10D''' (2003)&lt;br /&gt;
* '''Canon EOS 300D''' (2003), a very close relative of the 10D.&lt;br /&gt;
* '''Canon PowerShot G1, G2, G3, G4, G5, and G6''' (2000-2004), high-end compact cameras.&lt;br /&gt;
* '''Canon PowerShot S30, S40, S50, S60, and S70''' (2001-2004)&lt;br /&gt;
&lt;br /&gt;
==File header==&lt;br /&gt;
A Canon CRW file always begins with the following byte sequence: '''49 49 1A 00 00 00 48 45 41 50 43 43 44 52'''. This is explained below:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Bytes&lt;br /&gt;
!Value&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|49 49&lt;br /&gt;
|&amp;quot;II&amp;quot;&lt;br /&gt;
|&amp;quot;II&amp;quot; for Intel byte-order, i.e. little endian. All cameras that use the CRW format have little-endian x86 processors, and this value is always &amp;quot;II&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
|1A 00 00 00&lt;br /&gt;
|0x0000001a&lt;br /&gt;
|32-bit integer giving the length of the CRW header. This is always 0x0000001a, i.e. 26 bytes.&lt;br /&gt;
|-&lt;br /&gt;
|48 45 41 50 43 43 44 52&lt;br /&gt;
|&amp;quot;HEAPCCDR&amp;quot;&lt;br /&gt;
|Identifies the file as a Canon CRW raw file.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Software support==&lt;br /&gt;
&lt;br /&gt;
Dave Coffin's [http://www.cybercom.net/~dcoffin/dcraw/ dcraw] utility, on which many other raw decoders are based, can decode all Canon CRW files.&lt;br /&gt;
&lt;br /&gt;
Adobe's Camera Raw plugin [http://helpx.adobe.com/creative-suite/kb/camera-raw-plug-supported-cameras.html supports CRW files]. They should open fine in Lightroom, Aperture, and other commercial tools.&lt;br /&gt;
&lt;br /&gt;
All the well-known open source tools, like [http://www.darktable.org/ Darktable] and [http://www.rawtherapee.com/ RawTherapee], can open and convert CRW files.&lt;br /&gt;
&lt;br /&gt;
Phil Harvey's [http://www.sno.phy.queensu.ca/~phil/exiftool/ ExifTool] can read EXIF data from CRW files.&lt;br /&gt;
&lt;br /&gt;
Canon distributes [http://software.canon-europe.com/software/0004351.asp?model= Canon Utilities RAW Image Converter] free for Windows.&lt;br /&gt;
&lt;br /&gt;
==Resources==&lt;br /&gt;
&lt;br /&gt;
* [http://www.sno.phy.queensu.ca/~phil/exiftool/canon_raw.html The Canon RAW (CRW) File Format]&lt;br /&gt;
* [http://wildtramper.com/sw/crw/crw.html Canon's CRW Raw File Format Specification]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Camera_Image_File_Format Wikipedia article on CIFF]&lt;/div&gt;</summary>
		<author><name>Hub</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/wiki/Cameras_and_Digital_Image_Sensors</id>
		<title>Cameras and Digital Image Sensors</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/Cameras_and_Digital_Image_Sensors"/>
				<updated>2013-02-12T02:31:32Z</updated>
		
		<summary type="html">&lt;p&gt;Hub: never heard of rwl for Leica&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|thiscat=Cameras and Digital Image Sensors&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Raw image formats (unprocessed data from digital image sensors, usually digital cameras)&lt;br /&gt;
&lt;br /&gt;
* [[Arriflex D-20]]: .ari&lt;br /&gt;
* [[Camera Image File Format]] (CIFF) as used by Canon: .crw&lt;br /&gt;
* [[Canon RAW 2]]: .cr2&lt;br /&gt;
* [[Casio digital cameras]]: .bay&lt;br /&gt;
* [[CHDK raw]] : (Older-style CHDK RAW files)&lt;br /&gt;
* [[DNG]] (Digital Negative): .dng (Adobe)&lt;br /&gt;
* [[Epson]]: .erf&lt;br /&gt;
* [[Fujifilm]]: .raf&lt;br /&gt;
* [[Hasselblad]]: .3fr&lt;br /&gt;
* [[Imacon]]: .fff&lt;br /&gt;
* [[Kodak]]: .dcs, .dcr, .drf, .k25, .kdc&lt;br /&gt;
* [[Leaf]]: .mos&lt;br /&gt;
* [[Leica]]: .raw, .rw2, .dng&lt;br /&gt;
* [[Logitech]]: .pxn&lt;br /&gt;
* [[mef]] (Mamiya)&lt;br /&gt;
* [[Minolta]]: .mrw&lt;br /&gt;
* [[Nikon]]: .nef, .nrw, .ndf&lt;br /&gt;
* [[Olympus Raw format]]: .orf&lt;br /&gt;
* [[Panasonic digital cameras]]: .raw, .rw2&lt;br /&gt;
* [[Pentax]]: .pef, .ptx&lt;br /&gt;
* [[Phase One]]: .cap, .iiq, .eip&lt;br /&gt;
* [[Rawzor]]: .rwz&lt;br /&gt;
* [[RED digital pictures]]: .r3d&lt;br /&gt;
* [[Samsung digital cameras]]: .srw&lt;br /&gt;
* [[Sigma X3F]]: .x3f&lt;br /&gt;
* [[Sony digital cameras]]: .arw, .srf, .sr2&lt;br /&gt;
* [[TIFF/EP]] (ISO 12234-2)&lt;br /&gt;
&lt;br /&gt;
See also [[Graphics]]&lt;/div&gt;</summary>
		<author><name>Hub</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/wiki/Leica</id>
		<title>Leica</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/Leica"/>
				<updated>2013-02-12T02:31:05Z</updated>
		
		<summary type="html">&lt;p&gt;Hub: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|subcat=Cameras and Digital Image Sensors&lt;br /&gt;
|extensions={{ext|dng}},{{ext|raw}},{{ext|rw2}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Leica does not use their own proprietary file format. It is either [[DNG]], or [[Panasonic]] RAW or RW2, the later, a direct result of Panasonic being the OEM for several models of Leica digital cameras.&lt;/div&gt;</summary>
		<author><name>Hub</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/wiki/Leica</id>
		<title>Leica</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/Leica"/>
				<updated>2013-02-12T02:30:32Z</updated>
		
		<summary type="html">&lt;p&gt;Hub: Leica stubs&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|subcat=Cameras and Digital Image Sensors&lt;br /&gt;
|extensions={{ext|dng}},{{ext|raw}},{{ext|rw2}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Leica does not use their own proprietary file format. It is either [DNG], or [Panasonic] RAW or RW2, the later, a direct result of Panasonic being the OEM for several models of Leica digital cameras.&lt;/div&gt;</summary>
		<author><name>Hub</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/wiki/Cameras_and_Digital_Image_Sensors</id>
		<title>Cameras and Digital Image Sensors</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/Cameras_and_Digital_Image_Sensors"/>
				<updated>2013-02-12T02:26:51Z</updated>
		
		<summary type="html">&lt;p&gt;Hub: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|thiscat=Cameras and Digital Image Sensors&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Raw image formats (unprocessed data from digital image sensors, usually digital cameras)&lt;br /&gt;
&lt;br /&gt;
* [[Arriflex D-20]]: .ari&lt;br /&gt;
* [[Camera Image File Format]] (CIFF) as used by Canon: .crw&lt;br /&gt;
* [[Canon RAW 2]]: .cr2&lt;br /&gt;
* [[Casio digital cameras]]: .bay&lt;br /&gt;
* [[CHDK raw]] : (Older-style CHDK RAW files)&lt;br /&gt;
* [[DNG]] (Digital Negative): .dng (Adobe)&lt;br /&gt;
* [[Epson]]: .erf&lt;br /&gt;
* [[Fujifilm]]: .raf&lt;br /&gt;
* [[Hasselblad]]: .3fr&lt;br /&gt;
* [[Imacon]]: .fff&lt;br /&gt;
* [[Kodak]]: .dcs, .dcr, .drf, .k25, .kdc&lt;br /&gt;
* [[Leaf]]: .mos&lt;br /&gt;
* [[Leica]]: .raw, .rwl, .dng&lt;br /&gt;
* [[Logitech]]: .pxn&lt;br /&gt;
* [[mef]] (Mamiya)&lt;br /&gt;
* [[Minolta]]: .mrw&lt;br /&gt;
* [[Nikon]]: .nef, .nrw, .ndf&lt;br /&gt;
* [[Olympus Raw format]]: .orf&lt;br /&gt;
* [[Panasonic digital cameras]]: .raw, .rw2&lt;br /&gt;
* [[Pentax]]: .pef, .ptx&lt;br /&gt;
* [[Phase One]]: .cap, .iiq, .eip&lt;br /&gt;
* [[Rawzor]]: .rwz&lt;br /&gt;
* [[RED digital pictures]]: .r3d&lt;br /&gt;
* [[Samsung digital cameras]]: .srw&lt;br /&gt;
* [[Sigma X3F]]: .x3f&lt;br /&gt;
* [[Sony digital cameras]]: .arw, .srf, .sr2&lt;br /&gt;
* [[TIFF/EP]] (ISO 12234-2)&lt;br /&gt;
&lt;br /&gt;
See also [[Graphics]]&lt;/div&gt;</summary>
		<author><name>Hub</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/wiki/Epson_digital_cameras</id>
		<title>Epson digital cameras</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/Epson_digital_cameras"/>
				<updated>2013-02-12T02:26:33Z</updated>
		
		<summary type="html">&lt;p&gt;Hub: Hub moved page Epson digital cameras to Epson: consistency&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Epson]]&lt;/div&gt;</summary>
		<author><name>Hub</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/wiki/Epson_ERF</id>
		<title>Epson ERF</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/Epson_ERF"/>
				<updated>2013-02-12T02:26:33Z</updated>
		
		<summary type="html">&lt;p&gt;Hub: Hub moved page Epson digital cameras to Epson: consistency&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|subcat=Cameras and Digital Image Sensors&lt;br /&gt;
|extensions={{ext|erf}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
ERF files are generated by the Epson R-D1 and R-D1s digital rangefinder cameras. &lt;br /&gt;
&lt;br /&gt;
== Organization == &lt;br /&gt;
&lt;br /&gt;
Epson ERF files are [[TIFF/EP]] files. CFA data is in the primary subIFD from IFD0. Thumbnail is 8RGB in IFD0. Exif is attached to the ExifIFD of IFD0. &lt;br /&gt;
&lt;br /&gt;
== Compression ==&lt;br /&gt;
&lt;br /&gt;
The CFA image date is &amp;quot;compressed&amp;quot;, bit packed. The Compression value in the CFA subIFD is set to 32769.&lt;/div&gt;</summary>
		<author><name>Hub</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/wiki/Minolta_MRW</id>
		<title>Minolta MRW</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/Minolta_MRW"/>
				<updated>2013-02-12T02:24:28Z</updated>
		
		<summary type="html">&lt;p&gt;Hub: linkage&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|subcat=Cameras and Digital Image Sensors&lt;br /&gt;
|extensions={{ext|mrw}}&lt;br /&gt;
}}&lt;br /&gt;
'''M'''inolta '''R'''A'''W''' format used by Minolta (later Konica-Minolta) cameras. After the [[Sony]] purchase, Sony branded SLR use a different format: ARW&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* [http://www.dalibor.cz/minolta/raw_file_format.htm Dalibor Jelinek's documentation]&lt;br /&gt;
* [http://www.focalplane.net/imagecooker/ ImageCooker ]&lt;br /&gt;
* [http://www.chauveau-central.net/mrw-format/mrw-format.txt Stephane Chauveau documentation]&lt;br /&gt;
* [http://crousseau.free.fr/imgfmt_raw.htm Cedric Rousseau documentation] from one of the developers of DxO&lt;/div&gt;</summary>
		<author><name>Hub</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/wiki/Minolta_MRW</id>
		<title>Minolta MRW</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/Minolta_MRW"/>
				<updated>2013-02-12T02:23:36Z</updated>
		
		<summary type="html">&lt;p&gt;Hub: Initial page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|subcat=Cameras and Digital Image Sensors&lt;br /&gt;
|extensions={{ext|mrw}}&lt;br /&gt;
}}&lt;br /&gt;
'''M'''inolta '''R'''A'''W''' format used by Minolta (later Konica-Minolta) cameras. After the [[Sony]] purchase, Sony branded SLR use a different format: ARW&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* [[http://www.dalibor.cz/minolta/raw_file_format.htm|Dalibor Jelinek's documentation]]&lt;br /&gt;
* [[http://www.focalplane.net/imagecooker/|ImageCooker]]&lt;br /&gt;
* [[http://www.chauveau-central.net/mrw-format/mrw-format.txt|Stephane Chauveau documentation]]&lt;br /&gt;
* [[http://crousseau.free.fr/imgfmt_raw.htm|Cedric Rousseau documentation]] from one of the developers of DxO&lt;/div&gt;</summary>
		<author><name>Hub</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/wiki/Fujifilm_RAF</id>
		<title>Fujifilm RAF</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/Fujifilm_RAF"/>
				<updated>2013-02-12T02:18:58Z</updated>
		
		<summary type="html">&lt;p&gt;Hub: Dump from http://libopenraw.freedesktop.org/wiki/Fuji_RAF - I am the original author.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|subcat=Cameras and Digital Image Sensors&lt;br /&gt;
|extensions={{ext|raf}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
'''RAF''' is the RAW file format used by Fujifilm cameras&lt;br /&gt;
&lt;br /&gt;
== Organisation ==&lt;br /&gt;
&lt;br /&gt;
Byte order is Motorola (Big Endian)&lt;br /&gt;
&lt;br /&gt;
* 16 bytes string to identify the file (magic)&lt;br /&gt;
** &amp;lt;code&amp;gt;FUJIFILMCCD-RAW &amp;lt;/code&amp;gt;&lt;br /&gt;
* 4 bytes&lt;br /&gt;
** &amp;lt;code&amp;gt;0201&amp;lt;/code&amp;gt;&lt;br /&gt;
* 8 bytes&lt;br /&gt;
** &amp;lt;code&amp;gt;FF389501&amp;lt;/code&amp;gt;&lt;br /&gt;
* 32 bytes for the camera string, \0 terminated&lt;br /&gt;
* offset directory&lt;br /&gt;
** Version (4 bytes) for the directory&lt;br /&gt;
*** &amp;lt;code&amp;gt;0100&amp;lt;/code&amp;gt;&lt;br /&gt;
*** &amp;lt;code&amp;gt;0159&amp;lt;/code&amp;gt;&lt;br /&gt;
** 20 bytes &amp;quot;unknown&amp;quot;&lt;br /&gt;
** Jpeg image offset (4 bytes)&lt;br /&gt;
** Jpeg Image length (4 bytes)&lt;br /&gt;
** CFA Header Offset (4 bytes)&lt;br /&gt;
** CFA Header Length (4 bytes)&lt;br /&gt;
** CFA Offset (4 bytes)&lt;br /&gt;
** CFA Length (4 bytes)&lt;br /&gt;
** rest unused&lt;br /&gt;
* Jpeg image offset&lt;br /&gt;
** Exif JFIF with thumbnail + preview&lt;br /&gt;
* CFA Header offset - Big Endian&lt;br /&gt;
** 4 bytes: count of records&lt;br /&gt;
** Records, one after the other&lt;br /&gt;
*** 2 bytes: tag ID&lt;br /&gt;
*** 2 bytes: size of record (N)&lt;br /&gt;
*** N bytes: data&lt;br /&gt;
* CFA Offset&lt;br /&gt;
** Uncompressed RAW&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;/div&gt;</summary>
		<author><name>Hub</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/wiki/Cameras_and_Digital_Image_Sensors</id>
		<title>Cameras and Digital Image Sensors</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/Cameras_and_Digital_Image_Sensors"/>
				<updated>2013-02-12T02:10:44Z</updated>
		
		<summary type="html">&lt;p&gt;Hub: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|thiscat=Cameras and Digital Image Sensors&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Raw image formats (unprocessed data from digital image sensors, usually digital cameras)&lt;br /&gt;
&lt;br /&gt;
* [[Arriflex D-20]]: .ari&lt;br /&gt;
* [[Camera Image File Format]] (CIFF) as used by Canon: .crw&lt;br /&gt;
* [[Canon RAW 2]]: .cr2&lt;br /&gt;
* [[Casio digital cameras]]: .bay&lt;br /&gt;
* [[CHDK raw]] : (Older-style CHDK RAW files)&lt;br /&gt;
* [[DNG]] (Digital Negative): .dng (Adobe)&lt;br /&gt;
* [[Epson digital cameras]]: .erf&lt;br /&gt;
* [[Fujifilm]]: .raf&lt;br /&gt;
* [[Hasselblad]]: .3fr&lt;br /&gt;
* [[Imacon]]: .fff&lt;br /&gt;
* [[Kodak]]: .dcs, .dcr, .drf, .k25, .kdc&lt;br /&gt;
* [[Leaf]]: .mos&lt;br /&gt;
* [[Leica]]: .raw, .rwl, .dng&lt;br /&gt;
* [[Logitech]]: .pxn&lt;br /&gt;
* [[mef]] (Mamiya)&lt;br /&gt;
* [[Minolta]]: .mrw&lt;br /&gt;
* [[Nikon]]: .nef, .nrw, .ndf&lt;br /&gt;
* [[Olympus Raw format]]: .orf&lt;br /&gt;
* [[Panasonic digital cameras]]: .raw, .rw2&lt;br /&gt;
* [[Pentax]]: .pef, .ptx&lt;br /&gt;
* [[Phase One]]: .cap, .iiq, .eip&lt;br /&gt;
* [[Rawzor]]: .rwz&lt;br /&gt;
* [[RED digital pictures]]: .r3d&lt;br /&gt;
* [[Samsung digital cameras]]: .srw&lt;br /&gt;
* [[Sigma X3F]]: .x3f&lt;br /&gt;
* [[Sony digital cameras]]: .arw, .srf, .sr2&lt;br /&gt;
* [[TIFF/EP]] (ISO 12234-2)&lt;br /&gt;
&lt;br /&gt;
See also [[Graphics]]&lt;/div&gt;</summary>
		<author><name>Hub</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/wiki/Epson_ERF</id>
		<title>Epson ERF</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/Epson_ERF"/>
				<updated>2013-01-22T04:56:43Z</updated>
		
		<summary type="html">&lt;p&gt;Hub: Dump from http://libopenraw.freedesktop.org/wiki/Epson_ERF - I am the orignal author&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|subcat=Cameras and Digital Image Sensors&lt;br /&gt;
|extensions={{ext|erf}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
ERF files are generated by the Epson R-D1 and R-D1s digital rangefinder cameras. &lt;br /&gt;
&lt;br /&gt;
== Organization == &lt;br /&gt;
&lt;br /&gt;
Epson ERF files are [[TIFF/EP]] files. CFA data is in the primary subIFD from IFD0. Thumbnail is 8RGB in IFD0. Exif is attached to the ExifIFD of IFD0. &lt;br /&gt;
&lt;br /&gt;
== Compression ==&lt;br /&gt;
&lt;br /&gt;
The CFA image date is &amp;quot;compressed&amp;quot;, bit packed. The Compression value in the CFA subIFD is set to 32769.&lt;/div&gt;</summary>
		<author><name>Hub</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/wiki/CHDK_raw</id>
		<title>CHDK raw</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/CHDK_raw"/>
				<updated>2013-01-21T22:33:31Z</updated>
		
		<summary type="html">&lt;p&gt;Hub: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|subcat=Cameras and Digital Image Sensors&lt;br /&gt;
|extensions={{ext|crw}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
If you are running [http://chdk.wikia.com/wiki/CHDK CHDK] on your compatible point &amp;amp; shoot camera, you can get it to shoot in RAW format.&lt;br /&gt;
It's important to know that the word &amp;quot;format&amp;quot; is used loosely here- every camera has its own format, which is dumping the sensor input into a file.&lt;br /&gt;
See: [http://chdk.wikia.com/wiki/Raw CHDK RAW]&lt;br /&gt;
&lt;br /&gt;
The CHDK wiki points to this thread as the reference on working with RAW files from CHDK-enabled cameras: [http://chdk.setepontos.com/index.php?topic=1532.0 CHDK Forum RAW for Beginners]&lt;br /&gt;
&lt;br /&gt;
Also it should be noted that CHDK seems to generate files with the CRW extension, albeit they have nothing to do with [[Camera Image File Format|CIFF]] files.&lt;/div&gt;</summary>
		<author><name>Hub</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/wiki/CHDK_raw</id>
		<title>CHDK raw</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/CHDK_raw"/>
				<updated>2013-01-21T22:32:56Z</updated>
		
		<summary type="html">&lt;p&gt;Hub: added extension&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|subcat=Cameras and Digital Image Sensors&lt;br /&gt;
|extensions={{ext|crw}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
If you are running [http://chdk.wikia.com/wiki/CHDK CHDK] on your compatible point &amp;amp; shoot camera, you can get it to shoot in RAW format.&lt;br /&gt;
It's important to know that the word &amp;quot;format&amp;quot; is used loosely here- every camera has its own format, which is dumping the sensor input into a file.&lt;br /&gt;
See: [http://chdk.wikia.com/wiki/Raw CHDK RAW]&lt;br /&gt;
&lt;br /&gt;
The CHDK wiki points to this thread as the reference on working with RAW files from CHDK-enabled cameras: [http://chdk.setepontos.com/index.php?topic=1532.0 CHDK Forum RAW for Beginners]&lt;br /&gt;
&lt;br /&gt;
Also it should be noted that CHDK seems to generate files with the CRW extension, albeit they have nothing to do with [[CIFF|Camera Image File Format]] files.&lt;/div&gt;</summary>
		<author><name>Hub</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/wiki/Nikon</id>
		<title>Nikon</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/Nikon"/>
				<updated>2013-01-21T22:31:42Z</updated>
		
		<summary type="html">&lt;p&gt;Hub: added extension&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|subcat=Cameras and Digital Image Sensors&lt;br /&gt;
|extensions={{ext|nef}},{{ext|nrw}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Formats used by '''Nikon''' cameras include:&lt;br /&gt;
&lt;br /&gt;
== NEF ==&lt;br /&gt;
'''N'''ikon '''E'''lectronic '''F'''ormat. Nikon 12/14-Bit-RAW digital image format for DSLR cameras.&lt;br /&gt;
* [http://www.nikonimglib.com/nefcodec/index.html.en Download NEF codec (Windows only)]&lt;br /&gt;
* [http://www.cybercom.net/~dcoffin/dcraw/scan.c C-source of NEF reader from Dave Coffin's homepage]&lt;br /&gt;
=== Coolpix variant ===&lt;br /&gt;
* [http://e2500.narod.ru/raw_format_e.htm http://e2500.narod.ru/raw_format_e.htm] Some Nikon Coolpix cameras can be convinced to shoot in RAW.&lt;br /&gt;
* [http://e2500.narod.ru/raw2nef_e.htm Processing the RAW data] Convert the RAW data to Coolpix 5700 NEF format.&lt;br /&gt;
&lt;br /&gt;
=== Coolscan variant ===&lt;br /&gt;
&lt;br /&gt;
Nikon Coolscan software generate .nef files that are different from cameras.&lt;br /&gt;
&lt;br /&gt;
== NRW ==&lt;br /&gt;
'''N'''ikon '''R'''A'''W'''. 12-Bit-RGB-CCD-RAW digital image format for Coolpix cameras.&lt;br /&gt;
* [http://www.nikonimglib.com/nrwcodec/index.html.en Download NRW codec (Windows only)]&lt;br /&gt;
The NRW format is virtually identical to the NEF format, with a different compression and curves. There is no real reason to have changed the extension except, maybe, to discriminate entry level camera supported by the codec for Windows.&lt;br /&gt;
&lt;br /&gt;
== NDF ==&lt;br /&gt;
'''N'''ikon '''D'''ust '''F'''ile.&lt;br /&gt;
* [http://www.cybercom.net/~dcoffin/dcraw/read_ndf.c C-source of NDF reader from Dave Coffin's homepage]&lt;/div&gt;</summary>
		<author><name>Hub</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/wiki/Canon_RAW_2</id>
		<title>Canon RAW 2</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/Canon_RAW_2"/>
				<updated>2013-01-21T22:30:13Z</updated>
		
		<summary type="html">&lt;p&gt;Hub: added extension&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|subcat=Cameras and Digital Image Sensors&lt;br /&gt;
|extensions={{ext|cr2}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Formats used by '''Canon''' cameras include:&lt;br /&gt;
&lt;br /&gt;
== CRW == &lt;br /&gt;
&lt;br /&gt;
CRW, aka [[Camera Image File Format]] is an attempt by Canon to standardise camera files.&lt;br /&gt;
&lt;br /&gt;
== CR2 ==&lt;br /&gt;
&lt;br /&gt;
Canon RAW 2 (CR2) came to replace CRW, starting the 20D, 350D/Digital Rebel Xt and 1D.&lt;br /&gt;
&lt;br /&gt;
=== Organization ===&lt;br /&gt;
Canon CR2 files are TIFF files. All is organised in a TIFF / IFD file.&lt;br /&gt;
&lt;br /&gt;
On of the differenciation with the CR2 files is that they have a header before the IFD0. This does not violate the TIFF spec. &lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! '''offset''' !! '''length''' !! '''description'''&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 8 || TIFF header&lt;br /&gt;
|-&lt;br /&gt;
| 8 || 2 || litteral 'CR'&lt;br /&gt;
|-&lt;br /&gt;
| 10 || 1 || major version (2) &lt;br /&gt;
|-&lt;br /&gt;
| 11 || 1 || minor version (0)&lt;br /&gt;
|-&lt;br /&gt;
| 12 || 4 || (long) for the offset of the IFD3 that contain the RAW data. (in the TIFF byte order)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Exif is attached to the ExifIFD of IFD0. The CFA data is in IFD3.&lt;br /&gt;
&lt;br /&gt;
=== Compression ===&lt;br /&gt;
&lt;br /&gt;
Canon CR2 files use the old original [[Lossless JPEG]] standard for the RAW data. The same used by [[DNG|Adobe DNG]].&lt;br /&gt;
&lt;br /&gt;
Source: http://www.adobeforums.com/cgi-bin/webx/.3bc36454/0 (link dead)&lt;br /&gt;
&lt;br /&gt;
The width dimension specified in the JPEG stream is actually half the reality because it takes into account 2 channels per sample (the dimension of the CFA pattern).&lt;br /&gt;
&lt;br /&gt;
350D, 5D and 30D files have a different layout. IFD3 (where the CFA is located) has the tag 0xc640 that contains 3 SHORT. 1, x, y. x is the number of column of the first &amp;quot;slice&amp;quot; of the image, y is for the second &amp;quot;slice&amp;quot;.''' I don't know what the 1 mean.'''&lt;br /&gt;
&lt;br /&gt;
The slicing means that the output scanlines have to be reorganised as they are shorter to have a top -&amp;gt; bottom then left -&amp;gt; right, a bit like columns of text. (TODO: do a nice diagram)&lt;br /&gt;
&lt;br /&gt;
=== Modified files ===&lt;br /&gt;
Apparently Canon's proprietary software modifies the RAW file. Other proprietary software seems to choke on said modified files (http://www.prophotohome.com/forum/raw-photo-processing-software-technique/62864-cr2-raws-converted-dpp-wont-open-aperture.html).&lt;br /&gt;
&lt;br /&gt;
ExifTool has some info:&lt;br /&gt;
* http://www.cpanforum.com/threads/1055&lt;br /&gt;
* http://www.cpanforum.com/threads/5170&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
* http://lclevy.free.fr/cr2/&lt;br /&gt;
* http://web.archive.org/web/20061125031802/http://crousseau.free.fr/imgfmt_raw.htm (in French, by one of the developers of DxO) - Using the wayback machine !&lt;/div&gt;</summary>
		<author><name>Hub</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/wiki/Canon_RAW_2</id>
		<title>Canon RAW 2</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/Canon_RAW_2"/>
				<updated>2013-01-20T03:58:27Z</updated>
		
		<summary type="html">&lt;p&gt;Hub: Dumped info from http://libopenraw.freedesktop.org/wiki/Canon_CR2 - I am the author.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|subcat=Cameras and Digital Image Sensors&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Formats used by '''Canon''' cameras include:&lt;br /&gt;
&lt;br /&gt;
== CRW == &lt;br /&gt;
&lt;br /&gt;
CRW, aka [[Camera Image File Format]] is an attempt by Canon to standardise camera files.&lt;br /&gt;
&lt;br /&gt;
== CR2 ==&lt;br /&gt;
&lt;br /&gt;
Canon RAW 2 (CR2) came to replace CRW, starting the 20D, 350D/Digital Rebel Xt and 1D.&lt;br /&gt;
&lt;br /&gt;
=== Organization ===&lt;br /&gt;
Canon CR2 files are TIFF files. All is organised in a TIFF / IFD file.&lt;br /&gt;
&lt;br /&gt;
On of the differenciation with the CR2 files is that they have a header before the IFD0. This does not violate the TIFF spec. &lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! '''offset''' !! '''length''' !! '''description'''&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 8 || TIFF header&lt;br /&gt;
|-&lt;br /&gt;
| 8 || 2 || litteral 'CR'&lt;br /&gt;
|-&lt;br /&gt;
| 10 || 1 || major version (2) &lt;br /&gt;
|-&lt;br /&gt;
| 11 || 1 || minor version (0)&lt;br /&gt;
|-&lt;br /&gt;
| 12 || 4 || (long) for the offset of the IFD3 that contain the RAW data. (in the TIFF byte order)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Exif is attached to the ExifIFD of IFD0. The CFA data is in IFD3.&lt;br /&gt;
&lt;br /&gt;
=== Compression ===&lt;br /&gt;
&lt;br /&gt;
Canon CR2 files use the old original [[Lossless JPEG]] standard for the RAW data. The same used by [[DNG|Adobe DNG]].&lt;br /&gt;
&lt;br /&gt;
Source: http://www.adobeforums.com/cgi-bin/webx/.3bc36454/0 (link dead)&lt;br /&gt;
&lt;br /&gt;
The width dimension specified in the JPEG stream is actually half the reality because it takes into account 2 channels per sample (the dimension of the CFA pattern).&lt;br /&gt;
&lt;br /&gt;
350D, 5D and 30D files have a different layout. IFD3 (where the CFA is located) has the tag 0xc640 that contains 3 SHORT. 1, x, y. x is the number of column of the first &amp;quot;slice&amp;quot; of the image, y is for the second &amp;quot;slice&amp;quot;.''' I don't know what the 1 mean.'''&lt;br /&gt;
&lt;br /&gt;
The slicing means that the output scanlines have to be reorganised as they are shorter to have a top -&amp;gt; bottom then left -&amp;gt; right, a bit like columns of text. (TODO: do a nice diagram)&lt;br /&gt;
&lt;br /&gt;
=== Modified files ===&lt;br /&gt;
Apparently Canon's proprietary software modifies the RAW file. Other proprietary software seems to choke on said modified files (http://www.prophotohome.com/forum/raw-photo-processing-software-technique/62864-cr2-raws-converted-dpp-wont-open-aperture.html).&lt;br /&gt;
&lt;br /&gt;
ExifTool has some info:&lt;br /&gt;
* http://www.cpanforum.com/threads/1055&lt;br /&gt;
* http://www.cpanforum.com/threads/5170&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
* http://lclevy.free.fr/cr2/&lt;br /&gt;
* http://web.archive.org/web/20061125031802/http://crousseau.free.fr/imgfmt_raw.htm (in French, by one of the developers of DxO) - Using the wayback machine !&lt;/div&gt;</summary>
		<author><name>Hub</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/wiki/Canon_RAW_2</id>
		<title>Canon RAW 2</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/Canon_RAW_2"/>
				<updated>2013-01-20T03:41:01Z</updated>
		
		<summary type="html">&lt;p&gt;Hub: First version of the page.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|subcat=Cameras and Digital Image Sensors&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Formats used by '''Canon''' cameras include:&lt;br /&gt;
&lt;br /&gt;
== CRW == &lt;br /&gt;
&lt;br /&gt;
CRW, aka [[Camera Image File Format]] is an attempt by Canon to standardise camera files.&lt;br /&gt;
&lt;br /&gt;
== CR2 ==&lt;br /&gt;
&lt;br /&gt;
Canon RAW 2 came to replace CRW, starting the 20D, 350D/Digital Rebel Xt and 1D.&lt;/div&gt;</summary>
		<author><name>Hub</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/wiki/Nikon</id>
		<title>Nikon</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/Nikon"/>
				<updated>2013-01-20T03:36:34Z</updated>
		
		<summary type="html">&lt;p&gt;Hub: /* Coolpix variant */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|subcat=Cameras and Digital Image Sensors&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Formats used by '''Nikon''' cameras include:&lt;br /&gt;
&lt;br /&gt;
== NEF ==&lt;br /&gt;
'''N'''ikon '''E'''lectronic '''F'''ormat. Nikon 12/14-Bit-RAW digital image format for DSLR cameras.&lt;br /&gt;
* [http://www.nikonimglib.com/nefcodec/index.html.en Download NEF codec (Windows only)]&lt;br /&gt;
* [http://www.cybercom.net/~dcoffin/dcraw/scan.c C-source of NEF reader from Dave Coffin's homepage]&lt;br /&gt;
=== Coolpix variant ===&lt;br /&gt;
* [http://e2500.narod.ru/raw_format_e.htm http://e2500.narod.ru/raw_format_e.htm] Some Nikon Coolpix cameras can be convinced to shoot in RAW.&lt;br /&gt;
* [http://e2500.narod.ru/raw2nef_e.htm Processing the RAW data] Convert the RAW data to Coolpix 5700 NEF format.&lt;br /&gt;
&lt;br /&gt;
=== Coolscan variant ===&lt;br /&gt;
&lt;br /&gt;
Nikon Coolscan software generate .nef files that are different from cameras.&lt;br /&gt;
&lt;br /&gt;
== NRW ==&lt;br /&gt;
'''N'''ikon '''R'''A'''W'''. 12-Bit-RGB-CCD-RAW digital image format for Coolpix cameras.&lt;br /&gt;
* [http://www.nikonimglib.com/nrwcodec/index.html.en Download NRW codec (Windows only)]&lt;br /&gt;
The NRW format is virtually identical to the NEF format, with a different compression and curves. There is no real reason to have changed the extension except, maybe, to discriminate entry level camera supported by the codec for Windows.&lt;br /&gt;
&lt;br /&gt;
== NDF ==&lt;br /&gt;
'''N'''ikon '''D'''ust '''F'''ile.&lt;br /&gt;
* [http://www.cybercom.net/~dcoffin/dcraw/read_ndf.c C-source of NDF reader from Dave Coffin's homepage]&lt;/div&gt;</summary>
		<author><name>Hub</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/wiki/Camera_Image_File_Format</id>
		<title>Camera Image File Format</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/Camera_Image_File_Format"/>
				<updated>2013-01-17T15:26:12Z</updated>
		
		<summary type="html">&lt;p&gt;Hub: /* See Also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|subcat=Cameras and Digital Image Sensors&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Camera Image File Format, aka CIFF is a proposed camera file format that Canon used for early Camera when saving RAW files.&lt;br /&gt;
&lt;br /&gt;
It has the extension .crw (that [[CHDK Raw]] also borrows).&lt;br /&gt;
&lt;br /&gt;
Canon later replaced it with [[Canon RAW 2]] which is totally different.&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Camera_Image_File_Format Wikipedia article on CIFF]&lt;/div&gt;</summary>
		<author><name>Hub</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/wiki/Camera_Image_File_Format</id>
		<title>Camera Image File Format</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/Camera_Image_File_Format"/>
				<updated>2013-01-17T15:25:52Z</updated>
		
		<summary type="html">&lt;p&gt;Hub: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|subcat=Cameras and Digital Image Sensors&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Camera Image File Format, aka CIFF is a proposed camera file format that Canon used for early Camera when saving RAW files.&lt;br /&gt;
&lt;br /&gt;
It has the extension .crw (that [[CHDK Raw]] also borrows).&lt;br /&gt;
&lt;br /&gt;
Canon later replaced it with [[Canon RAW 2]] which is totally different.&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
* [[http://en.wikipedia.org/wiki/Camera_Image_File_Format Wikipedia article on CIFF]]&lt;/div&gt;</summary>
		<author><name>Hub</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/wiki/Camera_Image_File_Format</id>
		<title>Camera Image File Format</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/Camera_Image_File_Format"/>
				<updated>2013-01-17T15:23:40Z</updated>
		
		<summary type="html">&lt;p&gt;Hub: Created page with &amp;quot;{{FormatInfo |formattype=electronic |subcat=Cameras and Digital Image Sensors }}  Camera Image File Format, aka CIFF is a proposed camera file format that Canon used for early...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|subcat=Cameras and Digital Image Sensors&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Camera Image File Format, aka CIFF is a proposed camera file format that Canon used for early Camera when saving RAW files.&lt;br /&gt;
&lt;br /&gt;
It has the extension .crw (that [[CHDK Raw]] also borrows).&lt;br /&gt;
&lt;br /&gt;
Canon later replaced it with [[Canon RAW 2]] which is totally different.&lt;/div&gt;</summary>
		<author><name>Hub</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/wiki/CHDK_raw</id>
		<title>CHDK raw</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/CHDK_raw"/>
				<updated>2013-01-17T15:21:15Z</updated>
		
		<summary type="html">&lt;p&gt;Hub: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|subcat=Cameras and Digital Image Sensors&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
If you are running [http://chdk.wikia.com/wiki/CHDK CHDK] on your compatible point &amp;amp; shoot camera, you can get it to shoot in RAW format.&lt;br /&gt;
It's important to know that the word &amp;quot;format&amp;quot; is used loosely here- every camera has its own format, which is dumping the sensor input into a file.&lt;br /&gt;
See: [http://chdk.wikia.com/wiki/Raw CHDK RAW]&lt;br /&gt;
&lt;br /&gt;
The CHDK wiki points to this thread as the reference on working with RAW files from CHDK-enabled cameras: [http://chdk.setepontos.com/index.php?topic=1532.0 CHDK Forum RAW for Beginners]&lt;br /&gt;
&lt;br /&gt;
Also it should be noted that CHDK seems to generate files with the CRW extension, albeit they have nothing to do with [[CIFF|Camera Image File Format]] files.&lt;/div&gt;</summary>
		<author><name>Hub</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/wiki/CHDK_raw</id>
		<title>CHDK raw</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/CHDK_raw"/>
				<updated>2013-01-17T15:20:54Z</updated>
		
		<summary type="html">&lt;p&gt;Hub: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|subcat=Cameras and Digital Image Sensors&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
If you are running [http://chdk.wikia.com/wiki/CHDK CHDK] on your compatible point &amp;amp; shoot camera, you can get it to shoot in RAW format.&lt;br /&gt;
It's important to know that the word &amp;quot;format&amp;quot; is used loosely here- every camera has its own format, which is dumping the sensor input into a file.&lt;br /&gt;
See: [http://chdk.wikia.com/wiki/Raw CHDK RAW]&lt;br /&gt;
&lt;br /&gt;
The CHDK wiki points to this thread as the reference on working with RAW files from CHDK-enabled cameras: [http://chdk.setepontos.com/index.php?topic=1532.0 CHDK Forum RAW for Beginners]&lt;br /&gt;
&lt;br /&gt;
Also it should be noted that CHDK seems to generate files with the CRW extension, albeit they have nothing to do with [[CIFF Camera Image File Format]] files.&lt;/div&gt;</summary>
		<author><name>Hub</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/wiki/Cameras_and_Digital_Image_Sensors</id>
		<title>Cameras and Digital Image Sensors</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/Cameras_and_Digital_Image_Sensors"/>
				<updated>2013-01-17T15:20:08Z</updated>
		
		<summary type="html">&lt;p&gt;Hub: Split Canon CR2 and CIFF&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|thiscat=Cameras and Digital Image Sensors&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Raw image formats (unprocessed data from digital image sensors, usually digital cameras)&lt;br /&gt;
&lt;br /&gt;
* [[Arriflex D-20]]: .ari&lt;br /&gt;
* [[Camera Image File Format]] (CIFF) as used by Canon: .crw&lt;br /&gt;
* [[Canon RAW 2]]: .cr2&lt;br /&gt;
* [[Casio digital cameras]]: .bay&lt;br /&gt;
* [[CHDK raw]] : (Older-style CHDK RAW files)&lt;br /&gt;
* [[DNG]] (Digital Negative): .dng (Adobe)&lt;br /&gt;
* [[Epson digital cameras]]: .erf&lt;br /&gt;
* [[Fujifilm digital format]]: .raf&lt;br /&gt;
* [[Hasselblad]]: .3fr&lt;br /&gt;
* [[Imacon]]: .fff&lt;br /&gt;
* [[Kodak]]: .dcs, .dcr, .drf, .k25, .kdc&lt;br /&gt;
* [[Leaf]]: .mos&lt;br /&gt;
* [[Leica]]: .raw, .rwl, .dng&lt;br /&gt;
* [[Logitech]]: .pxn&lt;br /&gt;
* [[mef]] (Mamiya)&lt;br /&gt;
* [[Minolta]]: .mrw&lt;br /&gt;
* [[Nikon]]: .nef, .nrw, .ndf&lt;br /&gt;
* [[Olympus Raw format]]: .orf&lt;br /&gt;
* [[Panasonic digital cameras]]: .raw, .rw2&lt;br /&gt;
* [[Pentax]]: .pef, .ptx&lt;br /&gt;
* [[Phase One]]: .cap, .iiq, .eip&lt;br /&gt;
* [[Rawzor]]: .rwz&lt;br /&gt;
* [[RED digital pictures]]: .r3d&lt;br /&gt;
* [[Samsung digital cameras]]: .srw&lt;br /&gt;
* [[Sigma X3F]]: .x3f&lt;br /&gt;
* [[Sony digital cameras]]: .arw, .srf, .sr2&lt;br /&gt;
* [[TIFF/EP]] (ISO 12234-2)&lt;br /&gt;
&lt;br /&gt;
See also [[Graphics]]&lt;/div&gt;</summary>
		<author><name>Hub</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/wiki/Nikon</id>
		<title>Nikon</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/Nikon"/>
				<updated>2013-01-17T15:11:57Z</updated>
		
		<summary type="html">&lt;p&gt;Hub: /* NRW */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|subcat=Cameras and Digital Image Sensors&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Formats used by '''Nikon''' cameras include:&lt;br /&gt;
&lt;br /&gt;
== NEF ==&lt;br /&gt;
'''N'''ikon '''E'''lectronic '''F'''ormat. Nikon 12/14-Bit-RAW digital image format for DSLR cameras.&lt;br /&gt;
* [http://www.nikonimglib.com/nefcodec/index.html.en Download NEF codec (Windows only)]&lt;br /&gt;
* [http://www.cybercom.net/~dcoffin/dcraw/scan.c C-source of NEF reader from Dave Coffin's homepage]&lt;br /&gt;
=== Coolpix variant ===&lt;br /&gt;
* [http://e2500.narod.ru/raw_format_e.htm http://e2500.narod.ru/raw_format_e.htm] Some Nikon Coolpix cameras can be convinced to shoot in RAW.&lt;br /&gt;
* [http://e2500.narod.ru/raw2nef_e.htm Processing the RAW data] Convert the RAW data to Coolpix 5700 NEF format.&lt;br /&gt;
&lt;br /&gt;
== NRW ==&lt;br /&gt;
'''N'''ikon '''R'''A'''W'''. 12-Bit-RGB-CCD-RAW digital image format for Coolpix cameras.&lt;br /&gt;
* [http://www.nikonimglib.com/nrwcodec/index.html.en Download NRW codec (Windows only)]&lt;br /&gt;
The NRW format is virtually identical to the NEF format, with a different compression and curves. There is no real reason to have changed the extension except, maybe, to discriminate entry level camera supported by the codec for Windows.&lt;br /&gt;
&lt;br /&gt;
== NDF ==&lt;br /&gt;
'''N'''ikon '''D'''ust '''F'''ile.&lt;br /&gt;
* [http://www.cybercom.net/~dcoffin/dcraw/read_ndf.c C-source of NDF reader from Dave Coffin's homepage]&lt;/div&gt;</summary>
		<author><name>Hub</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/wiki/Cameras_and_Digital_Image_Sensors</id>
		<title>Cameras and Digital Image Sensors</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/Cameras_and_Digital_Image_Sensors"/>
				<updated>2013-01-17T15:09:34Z</updated>
		
		<summary type="html">&lt;p&gt;Hub: details in the file format names&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|thiscat=Cameras and Digital Image Sensors&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Raw image formats (unprocessed data from digital image sensors, usually digital cameras)&lt;br /&gt;
&lt;br /&gt;
* [[Arriflex D-20]]: .ari&lt;br /&gt;
* [[Canon RAW Image File Format]]: .crw .cr2 (Canon)&lt;br /&gt;
* [[Casio digital cameras]]: .bay&lt;br /&gt;
* [[CHDK raw]] : (Older-style CHDK RAW files)&lt;br /&gt;
* [[DNG]] (Digital Negative): .dng (Adobe)&lt;br /&gt;
* [[Epson digital cameras]]: .erf&lt;br /&gt;
* [[Fujifilm digital format]]: .raf&lt;br /&gt;
* [[Hasselblad]]: .3fr&lt;br /&gt;
* [[Imacon]]: .fff&lt;br /&gt;
* [[Kodak]]: .dcs, .dcr, .drf, .k25, .kdc&lt;br /&gt;
* [[Leaf]]: .mos&lt;br /&gt;
* [[Leica]]: .raw, .rwl, .dng&lt;br /&gt;
* [[Logitech]]: .pxn&lt;br /&gt;
* [[mef]] (Mamiya)&lt;br /&gt;
* [[Minolta]]: .mrw&lt;br /&gt;
* [[Nikon]]: .nef, .nrw, .ndf&lt;br /&gt;
* [[Olympus Raw format]]: .orf&lt;br /&gt;
* [[Panasonic digital cameras]]: .raw, .rw2&lt;br /&gt;
* [[Pentax]]: .pef, .ptx&lt;br /&gt;
* [[Phase One]]: .cap, .iiq, .eip&lt;br /&gt;
* [[Rawzor]]: .rwz&lt;br /&gt;
* [[RED digital pictures]]: .r3d&lt;br /&gt;
* [[Samsung digital cameras]]: .srw&lt;br /&gt;
* [[Sigma X3F]]: .x3f&lt;br /&gt;
* [[Sony digital cameras]]: .arw, .srf, .sr2&lt;br /&gt;
* [[TIFF/EP]] (ISO 12234-2)&lt;br /&gt;
&lt;br /&gt;
See also [[Graphics]]&lt;/div&gt;</summary>
		<author><name>Hub</name></author>	</entry>

	</feed>