logo

Nikon NEF Format Info

[Update: Thanks to Laurent for correcting the attribution of the code! Also, the Nikon NEF SDK decrypts the WB info too.

Some of us are plenty happy to let CaptureNX, Photoshop, and others worry about turning our NEF’s into something usable, but various intrepid people (who’re smart than I am) like lclevy (Dave Coffin) just can’t let a challenge like encrypted whitebalances alone.

So he’s posted a wad of info on the NEF format and its header as well as some C code for you to open up the whitebalance info.

Interesting (to me), it’s based on the TIFF format. Otoh, the TIFF format is so flexible that I shouldn’t have been surprised.

Luckily, he’s hosted it in France, so there’s no change of DMCA take-down notice being filed.

Tags:

One Response to “Nikon NEF Format Info”

  1. lclevy Says:

    Hello,

    I’m not the author of the reverse engineering of Nikon White Balance encryption scheme, but Dave Coffin, the author of Dcraw is.
    http://www.cybercom.net/~dcoffin/dcraw/
    Dave has written this code in April 2005.

    The code source on my page is only to illustrate/explain the decryption.

    To write this page, I personnally use only public resource and information, as listed in references, include Dcraw code source.

    Laurent (http://lclevy.free.fr/raw/)

Leave a Reply

You must be logged in to post a comment.