Sorry about my previous, terse reply – I wanted to help but had little time. I have more now.
First and foremost, I’m sorry about your loss.
As for the embedded JPGs, besides dcraw
, one can use e.g. exiftool
(since it’s really about headers and metadata, not about the raw file itself). The man page of exiftool
provides these examples:
exiftool -b -ThumbnailImage image.jpg > thumbnail.jpg
Save thumbnail image from "image.jpg" to a file called "thumbnail.jpg".
exiftool -b -JpgFromRaw -w _JFR.JPG -ext NEF -r .
Recursively extract JPG image from all Nikon NEF files in the current directory,
adding "_JFR.JPG" for the name of the output JPG files.
exiftool -a -b -W %d%f_%t%-c.%s -preview:all dir
Extract all types of preview images (ThumbnailImage, PreviewImage,
JpgFromRaw, etc.) from files in directory "dir", adding the tag name
to the output preview image file names.
exiv2
also provides this functionality, using the command:
ex | extract
Extract metadata to *.exv, XMP sidecar (*.xmp) and thumbnail image files. Modification commands can be applied on‐the‐fly.
The command also takes a ‘target’ argument:
‐e tgt ‐‐extract Extract target(s) for the ’extract’ action.
Where
tgt a | c | e | i | p | t | x | C | X | XX | ‐
all, comment, exif, iptc, preview, thumb, xmp, ICC Profile, SideCar, RawXMP, stdin/out
An example in the man page:
$ exiv2 -et img1.jpg img2.jpg
Extracts the Exif thumbnails from the two files into img1-thumb.jpg and img2-thumb.jpg.