Thumbnail including complete EXIF data

Started by Franksen, September 05, 2013, 07:42:02 AM

Previous topic - Next topic

Franksen

Is there a possibility to extract a thumbnail image including all EXIF data from original image ?

Thanks
Frank

Phil Harvey

Hi Frank,

Try this:

1) exiftool -thumbnailimage -b image.jpg > thumb.jpg

2) exiftool -tagsfromfile image.jpg -all:all thumb.jpg

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

Franksen

How could I use this for extracting all images in a folder (incl. EXIF) ?

something like:
"exiftool -thumbnailimage -b -w _thumb.jpg DIR"

and then how to bring Exif tags inside all Thumbnails ?

Frank

Phil Harvey

#3
For an entire directory:

1) exiftool -thumbnailimage -b -w _thumb.jpg DIR

2) exiftool -tagsfromfile %d%-.6f.%e -all:all DIR/*_thumb.jpg

Next you're going to tell me you want to do this recursively for subdirectories... ;)

Edit: Forgot a minus sign in the %f format specifier to remove the characters from the end of the file name instead of the beginning.
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Franksen

Ahh,

Thank you very much.
Recursive is not needed (at the moment)

Best regards
Frank