Nikon

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
m (Change telparia.com samples link to template)
 
(8 intermediate revisions by 4 users not shown)
Line 2: Line 2:
 
|formattype=electronic
 
|formattype=electronic
 
|subcat=Cameras and Digital Image Sensors
 
|subcat=Cameras and Digital Image Sensors
|extensions={{ext|nef}},{{ext|nrw}}
+
|extensions={{ext|nef}}, {{ext|nrw}}, {{ext|ndf}}, {{ext|ndr}}
 +
|pronom={{PRONOM|fmt/202}}
 
}}
 
}}
 
 
Formats used by '''Nikon''' cameras include:
 
Formats used by '''Nikon''' cameras include:
  
Line 11: Line 11:
 
* [http://www.nikonimglib.com/nefcodec/index.html.en Download NEF codec (Windows only)]
 
* [http://www.nikonimglib.com/nefcodec/index.html.en Download NEF codec (Windows only)]
 
* [http://www.cybercom.net/~dcoffin/dcraw/scan.c C-source of NEF reader from Dave Coffin's homepage]
 
* [http://www.cybercom.net/~dcoffin/dcraw/scan.c C-source of NEF reader from Dave Coffin's homepage]
* Phil Harvey's [http://www.sno.phy.queensu.ca/~phil/exiftool/ ExifTool] can read EXIF metadata from Nikon NEF files. See also [http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/Nikon.html Nikon EXIF tags].
+
* Phil Harvey's [https://exiftool.org/ ExifTool] can read EXIF metadata from Nikon NEF files. See also [https://exiftool.org/TagNames/Nikon.html Nikon EXIF tags].
 
* [http://lclevy.free.fr/nef/ Nikon Electronic File (NEF) file format description]
 
* [http://lclevy.free.fr/nef/ Nikon Electronic File (NEF) file format description]
  
Line 40: Line 40:
  
 
== NDF ==
 
== NDF ==
'''N'''ikon '''D'''ust '''F'''ile.
+
'''N'''ikon '''D'''ust '''F'''ile. Contains data used to help compensate for lens dust and similar defects.
 
* [http://www.cybercom.net/~dcoffin/dcraw/read_ndf.c C-source of NDF reader from Dave Coffin's homepage]
 
* [http://www.cybercom.net/~dcoffin/dcraw/read_ndf.c C-source of NDF reader from Dave Coffin's homepage]
 +
 +
== NDR ==
 +
NDR (Nikon Capture Image Dust Off File) is the predecessor of NDF. An '''.ndr''' file does not contain image data, but points to a file that does.
 +
 +
== NKSC ==
 +
NKSC ([[Nikon Sidecar]]) files have metadata for NEF files. See separate article for more info.
 +
 +
== Software ==
 +
* Refer to [[Cameras and Digital Image Sensors#Software]]
 +
 +
== Sample files ==
 +
* [https://www.rawsamples.ch/index.php/en/nikon Nikon Sample Files on rawsamples.ch]
 +
* {{DexvertSamples|image/nikon}}
  
 
== Other links ==
 
== Other links ==
 
* [https://archive.org/details/generalmanual_000060551 Nikon Coolpix 4800 manual]
 
* [https://archive.org/details/generalmanual_000060551 Nikon Coolpix 4800 manual]
 +
* [https://groups.google.com/forum/#!topic/droid-list/1juY20TDCcA False positives in Nikon NEF and proposed new signatures to reduce those]

Latest revision as of 02:55, 28 December 2023

File Format
Name Nikon
Ontology
Extension(s) .nef, .nrw, .ndf, .ndr
PRONOM fmt/202

Formats used by Nikon cameras include:

Contents

[edit] NEF

Nikon Electronic Format is Nikon's RAW digital image format for DSLR cameras. It is a close relative to TIFF, and has a standard TIFF header. NEF files are usually big-endian, with the exception of files from the Coolpix 5700, which were little-endian. Data can be either 12- or 14-bit (from 2005's D200 onwards), and depending on the camera may be uncompressed, losslessly compressed, or lossily compressed.

[edit] NEFs for the Nikon D1

NEF files from the Nikon D1, the first all-Nikon digital SLR from 1999, differ from later cameras in a few ways:

  • Image data had no defined colour space. Many users have observed that the D1's native colour space is very similar to NTSC (see The Story of Nikon Color Modes). Later cameras used sRGB or Adobe RGB.
  • Raw data is not raw data. The image data itself, not just the image's metadata, is altered depending on the white balance setting. Later cameras do not alter image data based on the white balance setting.
  • EXIF data differs slightly. In particular, the D1 does not use the LensIDNumber tag as later cameras do. It also does not store the number of shutter actuations or the serial number of the camera.

[edit] Encryption

Starting with the Nikon D2H, Nikon attempted to encrypt white balance information to prevent third-party tools from being able to render an image properly (which Nikon claimed was to ensure that images would always render consistently). This was swiftly broken.

Nikon also attempts to encrypt lens data. This has also been broken.

[edit] Coolpix variant

[edit] Coolscan NEF variant

Nikon Coolscan software generate .nef files that are different from cameras. Dave Coffin has written C source code to decode these files.

[edit] NRW

Nikon RAW. 12-Bit-RGB-CCD-RAW digital image format for Coolpix cameras.

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.

[edit] NDF

Nikon Dust File. Contains data used to help compensate for lens dust and similar defects.

[edit] NDR

NDR (Nikon Capture Image Dust Off File) is the predecessor of NDF. An .ndr file does not contain image data, but points to a file that does.

[edit] NKSC

NKSC (Nikon Sidecar) files have metadata for NEF files. See separate article for more info.

[edit] Software

[edit] Sample files

[edit] Other links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox