Camera Image File Format
Dan Tobias (Talk | contribs) (Ext) |
(expand with a little more info) |
||
Line 3: | Line 3: | ||
|subcat=Cameras and Digital Image Sensors | |subcat=Cameras and Digital Image Sensors | ||
|extensions={{ext|crw}} | |extensions={{ext|crw}} | ||
+ | |mimetypes={{mimetype|image/x-canon-crw}} | ||
+ | |released=1997 | ||
}} | }} | ||
+ | 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 also used by [[CHDK Raw]], but this [http://chdk.wikia.com/wiki/Raw is a different file format]. | ||
− | + | ==Cameras== | |
+ | 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 digital SLRs used this format, and some compact cameras did too. The following cameras can generate files in the CRW format: | ||
− | + | * '''Canon EOS D30''' (2001), the first all-Canon DSLR. Not to be confused with the 30D, which is a completely different camera. | |
+ | * '''Canon EOS D60''' (2002) | ||
+ | * '''Canon EOS 10D''' (2003) | ||
+ | * '''Canon EOS 300D''' (2003), a very close relative of the 10D. | ||
+ | * '''Canon PowerShot G1, G2, G3, G4, G5, and G6''' (2000-2004), high-end compact cameras. | ||
+ | * '''Canon PowerShot S30, S40, S50, S60, and S70''' (2001-2004) | ||
− | Canon | + | ==File header== |
+ | 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: | ||
− | = | + | {| class="wikitable" |
+ | !Bytes | ||
+ | !Value | ||
+ | !Description | ||
+ | |- | ||
+ | |49 49 | ||
+ | |"II" | ||
+ | |"II" for Intel byte-order, i.e. little endian. All cameras that use the CRW format have little-endian x86 processors. | ||
+ | |- | ||
+ | |1A 00 00 00 | ||
+ | |0x0000001a | ||
+ | |32-bit integer giving the length of the CRW header. This is always 0x0000001a, i.e. 26 bytes. | ||
+ | |- | ||
+ | |48 45 41 50 43 43 44 52 | ||
+ | |"HEAPCCDR" | ||
+ | |Identifies the file as a Canon CRW raw file. | ||
+ | |- | ||
+ | |} | ||
+ | ==Software support== | ||
+ | |||
+ | 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. | ||
+ | |||
+ | 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. | ||
+ | |||
+ | 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. | ||
+ | |||
+ | Phil Harvey's [http://www.sno.phy.queensu.ca/~phil/exiftool/ ExifTool] can read EXIF data from CRW files. | ||
+ | |||
+ | Canon distributes [http://software.canon-europe.com/software/0004351.asp?model= Canon Utilities RAW Image Converter] free for Windows. | ||
+ | |||
+ | ==Resources== | ||
+ | |||
+ | * [http://www.sno.phy.queensu.ca/~phil/exiftool/canon_raw.html The Canon RAW (CRW) File Format] | ||
+ | * [http://wildtramper.com/sw/crw/crw.html Canon's CRW Raw File Format Specification] | ||
* [http://en.wikipedia.org/wiki/Camera_Image_File_Format Wikipedia article on CIFF] | * [http://en.wikipedia.org/wiki/Camera_Image_File_Format Wikipedia article on CIFF] |
Revision as of 18:41, 16 March 2013
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 CR2 format starting with the EOS 20D in 2004. The .crw extension is also used by CHDK Raw, but this is a different file format.
Contents |
Cameras
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 digital SLRs used this format, and some compact cameras did too. The following cameras can generate files in the CRW format:
- Canon EOS D30 (2001), the first all-Canon DSLR. Not to be confused with the 30D, which is a completely different camera.
- Canon EOS D60 (2002)
- Canon EOS 10D (2003)
- Canon EOS 300D (2003), a very close relative of the 10D.
- Canon PowerShot G1, G2, G3, G4, G5, and G6 (2000-2004), high-end compact cameras.
- Canon PowerShot S30, S40, S50, S60, and S70 (2001-2004)
File header
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:
Bytes | Value | Description |
---|---|---|
49 49 | "II" | "II" for Intel byte-order, i.e. little endian. All cameras that use the CRW format have little-endian x86 processors. |
1A 00 00 00 | 0x0000001a | 32-bit integer giving the length of the CRW header. This is always 0x0000001a, i.e. 26 bytes. |
48 45 41 50 43 43 44 52 | "HEAPCCDR" | Identifies the file as a Canon CRW raw file. |
Software support
Dave Coffin's dcraw utility, on which many other raw decoders are based, can decode all Canon CRW files.
Adobe's Camera Raw plugin supports CRW files. They should open fine in Lightroom, Aperture, and other commercial tools.
All the well-known open source tools, like Darktable and RawTherapee, can open and convert CRW files.
Phil Harvey's ExifTool can read EXIF data from CRW files.
Canon distributes Canon Utilities RAW Image Converter free for Windows.