Fujifilm RAF

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
m (Jsummers moved page Fujifilm to Fujifilm RAF)
Line 4: Line 4:
 
|extensions={{ext|raf}}
 
|extensions={{ext|raf}}
 
}}
 
}}
 +
'''RAF''', or '''Fujifilm RAW''', is a raw image format used by some Fujifilm digital cameras.
  
'''RAF''' is the RAW file format used by Fujifilm cameras
+
== Format ==
 
+
== Organisation ==
+
 
+
 
Byte order is Motorola (Big Endian)
 
Byte order is Motorola (Big Endian)
  
 
* 16 bytes string to identify the file (magic)
 
* 16 bytes string to identify the file (magic)
** <code>FUJIFILMCCD-RAW </code>
+
** "<code>FUJIFILMCCD-RAW</code>"
 
* 4 bytes
 
* 4 bytes
** <code>0201</code>
+
** Format version. E.g. "<code>0201</code>"
 
* 8 bytes
 
* 8 bytes
** <code>FF389501</code>
+
** Camera number ID. E.g. "<code>FF389501</code>"
 
* 32 bytes for the camera string, \0 terminated
 
* 32 bytes for the camera string, \0 terminated
 
* offset directory
 
* offset directory
** Version (4 bytes) for the directory
+
** Version (4 bytes) for the directory. E.g. "<code>0100</code>" or "<code>0159</code>".
*** <code>0100</code>
+
*** <code>0159</code>
+
 
** 20 bytes "unknown"
 
** 20 bytes "unknown"
 
** Jpeg image offset (4 bytes)
 
** Jpeg image offset (4 bytes)
Line 41: Line 37:
 
** Uncompressed RAW
 
** Uncompressed RAW
  
== See Also ==
+
== Sample files ==
 +
* [http://www.photographyblog.com/reviews/fujifilm_x_e1_review/sample_images/ Fujifilm X-E1 Review] → Sample RAW Images
 +
* [http://www.photographyblog.com/previews/fujifilm_x_t1_photos/ Fujifilm X-T1 Sample Images] → Fujifilm X-T1 RAW Images
 +
 
 +
== Links ==
 +
* [https://web.archive.org/web/20090214101740/http://crousseau.free.fr/imgfmt_raw.htm Formats d'image - RAW] (from archive.org)

Revision as of 01:10, 2 September 2014

File Format
Name Fujifilm RAF
Ontology
Extension(s) .raf

RAF, or Fujifilm RAW, is a raw image format used by some Fujifilm digital cameras.

Format

Byte order is Motorola (Big Endian)

  • 16 bytes string to identify the file (magic)
    • "FUJIFILMCCD-RAW"
  • 4 bytes
    • Format version. E.g. "0201"
  • 8 bytes
    • Camera number ID. E.g. "FF389501"
  • 32 bytes for the camera string, \0 terminated
  • offset directory
    • Version (4 bytes) for the directory. E.g. "0100" or "0159".
    • 20 bytes "unknown"
    • Jpeg image offset (4 bytes)
    • Jpeg Image length (4 bytes)
    • CFA Header Offset (4 bytes)
    • CFA Header Length (4 bytes)
    • CFA Offset (4 bytes)
    • CFA Length (4 bytes)
    • rest unused
  • Jpeg image offset
    • Exif JFIF with thumbnail + preview
  • CFA Header offset - Big Endian
    • 4 bytes: count of records
    • Records, one after the other
      • 2 bytes: tag ID
      • 2 bytes: size of record (N)
      • N bytes: data
  • CFA Offset
    • Uncompressed RAW

Sample files

Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox