Fujifilm RAF

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Dump from http://libopenraw.freedesktop.org/wiki/Fuji_RAF - I am the original author.)
 
(Sample files)
 
(7 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
|subcat=Cameras and Digital Image Sensors
 
|subcat=Cameras and Digital Image Sensors
 
|extensions={{ext|raf}}
 
|extensions={{ext|raf}}
 +
|pronom={{PRONOM|fmt/642}}
 
}}
 
}}
 +
'''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 38:
 
** Uncompressed RAW
 
** Uncompressed RAW
  
== See Also ==
+
== Software ==
 +
* Refer to [[Cameras and Digital Image Sensors#Software|Cameras and Digital Image Sensors]].
 +
 
 +
== 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
 +
* [http://www.rawsamples.ch/index.php/en/fuji RAW-Samples: Fuji]
 +
* http://digikam3rdparty.free.fr/TEST_IMAGES/ → [http://digikam3rdparty.free.fr/TEST_IMAGES/RAW/HORIZONTAL/ RAW/HORIZONTAL/], [http://digikam3rdparty.free.fr/TEST_IMAGES/RAW/VERTICAL/ RAW/VERTICAL/], [http://digikam3rdparty.free.fr/TEST_IMAGES/FUJI-X10/ FUJI-X10/]
 +
* {{DexvertSamples|image/raf}}
 +
 
 +
== Links ==
 +
* [https://web.archive.org/web/20090214101740/http://crousseau.free.fr/imgfmt_raw.htm Formats d'image - RAW] (from archive.org)

Latest revision as of 04:35, 28 December 2023

File Format
Name Fujifilm RAF
Ontology
Extension(s) .raf
PRONOM fmt/642

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

Contents

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

[edit] Software

[edit] Sample files

[edit] Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox