Recursive Extraction of Thumbnail images from CR2

Started by Archive, May 12, 2010, 08:54:24 AM

Previous topic - Next topic

Archive

[Originally posted by raoulj on 2008-09-03 11:15:00-07]

May I dare to ask one mor question ?

Well, let's go :

I now want to extract thumbnail images out of my RAW AND JPG files.

Strangely enough, it seems EXIFTOOL doesn't allow to use the -o option to define the output file name.
 exiftool -r -b -thumbnailimage -ext cr2 -o %f(.jpg) DIR
When  I do that, I end up with a copy of the original file (8MB CR2-format file) or an error message saying it can't convert a raw to a jpeg...

Nevertheless, it works when I just redirect the output with a pipe (in the way described in the doc's example)...
exiftool -b -thumbnailimage -redirected to- test.jpg

That's not the way I wnat it, since it works only for one file at a time (I need to use a FOR loop in my batch file to achieve it for each file in a directory, while I'd like to use the -r option in EXIFTOOL)...

So my question : Am I doing something wrong ? Or, in other words, is there a better way that works ?

Sorry for all those questions... but EXIFTOOL is so promising that I really want to do everything with it !

Have a nice day

Raoul

Archive

[Originally posted by exiftool on 2008-09-04 10:40:43-07]

The -o option is for the output image filename when writing.
The -w option is for the output text file.  The documentation
contains many examples of how to do this.  Basically what you want to
do is something like "-b -thumbnailimage -ext cr2 -w jpg".

- Phil