Originally posted by jbinpg exiftool -a extracts all preview images from a raw file.
exiftool -b -PreviewImage extracts just the preview image.
exiftool -b -ThumbnailImage extracts just the thumbnail image
This command I use all the time and it works - since years:
exiftool -b -previewimage -w previews/%d%f_.jpg -ext DNG .
The usual command to get a full sized jpg should be the following:
exiftool -b -JpgFromRaw -w thumbsAndPreviews/%d%f_.jpg -ext DNG .
But this doesn't work.
Of course I tried your other suggestions using DNG files from K-5, KP and K-1.
They simply don't work ... I tested them as follows:
exiftool -b -ThumbnailImage -w thumbnails/%d%f_.jpg -ext DNG .
=> no image creation
exiftool -a -w thumbsAndPreviews/%d%f_.jpg -ext DNG .
=> The -a command simply dumps the existing meta data
In which way do you use these commands exactly using raw files from which Pentax DSLR?