Author Topic: Possible Cause of Corrupted NEFs  (Read 1158 times)


  • Newbie
  • *
  • Posts: 1
Possible Cause of Corrupted NEFs
« on: June 24, 2014, 11:24:29 AM »
A colleague had his D700 files corrupted. We think it happened on a Windows PC long after they were originally copied from the cards.

What can cause this? Why are the files still close to the correct size?

We are hoping to prevent this going forward.

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 16877
    • ExifTool Home Page
Re: Possible Cause of Corrupted NEFs
« Reply #1 on: June 24, 2014, 11:28:27 AM »
The most likely cause is a memory card problem.  Usually in this case the images are gone for good.  I have often seen files that are the correct size, but filled completely with binary zeros, or sometimes seemingly random data.  If ExifTool can still recognize the file, then there is a chance it may be repaired.  Otherwise, there is a remote possibility that a JPEG preview may be extracted.  If you send me a sample (philharvey66 at, I'll take a look.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).