Nikon
(Created) |
Dexvertbot (Talk | contribs) m (Change telparia.com samples link to template) |
||
(16 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{FormatInfo | ||
+ | |formattype=electronic | ||
+ | |subcat=Cameras and Digital Image Sensors | ||
+ | |extensions={{ext|nef}}, {{ext|nrw}}, {{ext|ndf}}, {{ext|ndr}} | ||
+ | |pronom={{PRONOM|fmt/202}} | ||
+ | }} | ||
+ | Formats used by '''Nikon''' cameras include: | ||
+ | |||
== NEF == | == NEF == | ||
− | '''N'''ikon '''E'''lectronic '''F'''ormat | + | '''N'''ikon '''E'''lectronic '''F'''ormat 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. |
* [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 [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] | ||
+ | |||
+ | ===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 [http://www.earthboundlight.com/phototips/nikon-color-modes.html 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. | ||
+ | |||
+ | ===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 [http://news.cnet.com/Nikons-photo-encryption-reported-broken/2100-1030_3-5679848.html broken]. | ||
+ | |||
+ | Nikon also attempts to encrypt lens data. This has also been broken. | ||
+ | |||
+ | === Coolpix variant === | ||
+ | * [http://e2500.narod.ru/raw_format_e.htm http://e2500.narod.ru/raw_format_e.htm] Some Nikon Coolpix cameras can be convinced to shoot in RAW. | ||
+ | * [http://e2500.narod.ru/raw2nef_e.htm Processing the RAW data] Convert the RAW data to Coolpix 5700 NEF format. | ||
+ | |||
+ | == Coolscan NEF variant == | ||
+ | |||
+ | Nikon Coolscan software generate .nef files that are different from cameras. Dave Coffin has written [http://www.cybercom.net/~dcoffin/dcraw/scan.c C source code to decode these files]. | ||
== NRW == | == NRW == | ||
'''N'''ikon '''R'''A'''W'''. 12-Bit-RGB-CCD-RAW digital image format for Coolpix cameras. | '''N'''ikon '''R'''A'''W'''. 12-Bit-RGB-CCD-RAW digital image format for Coolpix cameras. | ||
* [http://www.nikonimglib.com/nrwcodec/index.html.en Download NRW codec (Windows only)] | * [http://www.nikonimglib.com/nrwcodec/index.html.en Download NRW codec (Windows only)] | ||
+ | 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. | ||
== 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 == | ||
+ | * [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
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.
- Download NEF codec (Windows only)
- C-source of NEF reader from Dave Coffin's homepage
- Phil Harvey's ExifTool can read EXIF metadata from Nikon NEF files. See also Nikon EXIF tags.
- Nikon Electronic File (NEF) file format description
[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
- http://e2500.narod.ru/raw_format_e.htm Some Nikon Coolpix cameras can be convinced to shoot in RAW.
- Processing the RAW data Convert the RAW data to Coolpix 5700 NEF format.
[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.