Manatee

Nikon NEF files that show a thumbnail and nothing else

Nikon raw files arrive on the Mac, the Finder shows thumbnails, and opening one produces either an error or an image that looks wrong. The thumbnails are the confusing part: if the Mac can show the picture, why can it not open the file?

Because those are two different operations reading two different parts of the same file.

Thumbnails come from a JPEG, not from the raw data

A NEF contains sensor data and, alongside it, a JPEG preview the camera wrote at capture time. The Finder and Quick Look show the JPEG. Nothing is decoded.

Opening the file properly means decoding the sensor data, which requires a decoder for your specific camera model. macOS ships those decoders and adds new ones in updates. If your camera is newer than your macOS version, the thumbnail works and the open does not.

Confirm what macOS thinks the file is:

mdls -name kMDItemContentType -name kMDItemAcquisitionModel photo.NEF

com.nikon.raw-image means it is recognised. public.data means it is not. Then test an actual decode:

sips -g pixelWidth -g pixelHeight photo.NEF

Dimensions mean success. An error means the decoder is missing or the file is damaged, and the next sections separate those.

The compression variants that catch people out

NEF is not one format. Nikon has used several compression schemes over the years, and support for them arrived at different times.

Uncompressed and lossless compressed NEFs are widely supported. Lossy compressed variants, and the newer high-efficiency options on recent bodies, are more selectively supported, and a Mac that opens one NEF from a camera may refuse another from the same camera shot in a different mode.

That is worth knowing because it produces a genuinely baffling symptom: half the shoot opens and half does not. If that is what you are seeing, check the camera’s raw recording setting rather than looking for file damage.

The fixes, in order of effort

Update macOS. New camera and variant support ships in point releases. This is the supported path and it resolves most cases.

Use Nikon’s own software. It reads every variant its cameras produce, and exports TIFF or JPEG that anything will open.

Convert to DNG. Adobe’s free DNG Converter reads the proprietary variants and writes an open format with broad support. This is the right answer for a Mac that cannot be updated, and a sensible archival step regardless.

Shoot lossless rather than lossy. If the files are causing trouble across your tools, the camera setting is the root cause and changing it removes the problem for future shoots at the cost of larger files.

Telling support problems from damage

If Nikon’s own software also refuses a file, the file is damaged rather than unsupported.

Raw files are copied off cards, and card copies are the common point of failure. Compare sizes within a shoot:

ls -lS *.NEF | tail -5

Files from one camera in one session cluster around a similar size. A markedly smaller one was truncated during writing or copying. A zero-byte file has no content at all.

For a file of normal size that still will not decode, the damage is internal. Manatee reads what survives and writes a clean copy from a duplicate, so the original is never modified by the attempt. For raw files the realistic recovery is frequently the embedded JPEG preview, which in most Nikon bodies is a full-resolution image. That is not the raw file you wanted, and it is a great deal better than losing the frame. What can actually be recovered from a corrupted file sets expectations honestly before you spend time on it.

The image opens but looks flat

Not a fault. The camera screen showed you the embedded JPEG with Nikon’s picture control, sharpening and colour applied. The raw file is the sensor data before those decisions. A raw converter applies its own defaults, which are deliberately neutral.

This is the trade raw makes: you give up the camera’s interpretation in exchange for the latitude to make your own. Most raw software can apply a profile approximating the camera’s rendering if you want that as a starting point.

Long-term storage

Proprietary raw formats depend on their manufacturers, and older variants do occasionally lose support. For anything worth keeping:

  • Convert an archival copy to DNG, keeping the NEF if storage permits.
  • Extract and keep the embedded JPEG for irreplaceable frames.
  • Record checksums when the archive is created, not when you suspect a problem, so you can tell degradation from a file that was always like this. Verifying a file arrived intact has the method.

Questions

Some NEFs from the same camera open and others do not. Almost certainly two different raw compression settings. Check the camera’s raw quality menu; the unsupported variant is usually the more efficient option.

Photos will not import my NEFs but Preview shows them. Photos applies stricter checks and sometimes lags Preview in variant support. Converting to DNG resolves it reliably.

Does converting to DNG lose anything? Not image data, for a lossless conversion. You lose some manufacturer-specific metadata that only Nikon’s software reads. Keeping the NEF alongside covers that.

The file is 0 bytes. Nothing was written. The card was pulled or the camera lost power before the file was committed. There is no recovery from a zero-byte file; the data was never on the disk. Card recovery software working on the raw card, before anything else is written to it, is the only remaining option.