Camera Image File Format

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
m (+locfdd)
m (Change telparia.com samples link to template)
 
(7 intermediate revisions by 4 users not shown)
Line 6: Line 6:
 
|released=1997
 
|released=1997
 
|locfdd={{LoCFDD|fdd000241}}
 
|locfdd={{LoCFDD|fdd000241}}
 +
|wikidata={{wikidata|Q3651247}}
 +
|pronom={{PRONOM|fmt/593}}
 
}}
 
}}
 
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].
 
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].
Line 13: Line 15:
  
 
* '''Canon EOS D30''' (2001), the first all-Canon DSLR. Not to be confused with the 30D, which is a completely different camera.
 
* '''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 D60''' (2002), not to be confused with the 60D, which is a completely different camera
 
* '''Canon EOS 10D''' (2003)
 
* '''Canon EOS 10D''' (2003)
 
* '''Canon EOS 300D''' (2003), a very close relative of the 10D.
 
* '''Canon EOS 300D''' (2003), a very close relative of the 10D.
 +
* '''Canon PowerShot Pro70, Pro90 IS, Pro1''' (1998-2004)
 
* '''Canon PowerShot G1, G2, G3, G4, G5, and G6''' (2000-2004), high-end compact cameras.
 
* '''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 PowerShot S30, S40, S50, S60, and S70''' (2001-2004)
Line 49: Line 52:
 
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.
 
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.
+
Phil Harvey's [https://exiftool.org/ 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.
 
Canon distributes [http://software.canon-europe.com/software/0004351.asp?model= Canon Utilities RAW Image Converter] free for Windows.
 +
 +
== Sample files ==
 +
* {{DexvertSamples|image/crw}}
 +
* https://raw.pixls.us/data/Canon/EOS%2010D/
 +
* [https://github.com/thorsted/digicam_corpus/tree/master/Canon/PowerShot%20S40 PowerShot S40 CRW Samples]
  
 
==Resources==
 
==Resources==
  
* [http://www.sno.phy.queensu.ca/~phil/exiftool/canon_raw.html The Canon RAW (CRW) File Format]
+
* [https://exiftool.org/canon_raw.html The Canon RAW (CRW) File Format]
 
* [http://wildtramper.com/sw/crw/crw.html Canon's CRW Raw File Format Specification]
 
* [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]

Latest revision as of 02:55, 28 December 2023

File Format
Name Camera Image File Format
Ontology
Extension(s) .crw
MIME Type(s) image/x-canon-crw
LoCFDD fdd000241
PRONOM fmt/593
Wikidata ID Q3651247
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 CR2 format starting with the EOS 20D in 2004. The .crw extension is sometimes used by CHDK, but this is a different file format.

Contents

[edit] 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 Canon 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), not to be confused with the 60D, which is a completely different camera
  • Canon EOS 10D (2003)
  • Canon EOS 300D (2003), a very close relative of the 10D.
  • Canon PowerShot Pro70, Pro90 IS, Pro1 (1998-2004)
  • 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)

[edit] 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, and this value is always "II".
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.

[edit] 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.

[edit] Sample files

[edit] Resources

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox