Removing Embedded JPGs from Nikon NEF Files with Exiftool
I've been migrating away from Capture NX2 to Lightroom for editing my raw NEF's. But I'm not quite ready to convert completely from NEF to DNG (Digital Negatives.) I still might want to edit the photo in Capture - the control points are just too useful. One tempting advantage of DNG is that they are reportedly a little smaller than NEF. Why are the DNGs smaller? I believe it is due to the NEF's embedded jpgs. But Lightroom doesn't really need the jpeg rendering that is stored in the NEF and I could always recreate them later. So how can I drop them? Exiftool! +Jeffrey Friedl 's blog post at http://regex.info/blog/2006-12-08/303 put me on the right track, but I think his information is out of date now. I found that my NEF had three jpgs: JpgFromRaw (Full Size!) OtherImage (Fairly large!) PreviewImage (Thumbnail-ish) Let's see how big the are in an NEF that is 44133771 bytes: $ exiftool -list D8H_2754_20131001_183719.NEF | egr...