problems to extract thumbs

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

Previous topic - Next topic

Archive

[Originally posted by akich on 2008-06-22 13:21:36-07]

I tried to extract the thumbnail image, but something is going wrong. but I don't know what. the command I used:

Code:
perl C:\Programme\exiftool\exiftool -b -ThumbnailImage "G:\exiftool tests\1_crop.jpg" > "G:\exiftool tests\thumb.jpg"

for an other operation, I used the following command and this works fine:
Code:
perl C:\Programme\exiftool\exiftool -all= -tagsfromfile "G:\exiftool tests\1.jpg" -exif:all "G:\exiftool tests\1_crop.jpg"

Archive

[Originally posted by exiftool on 2008-06-22 17:29:33-07]

The commands look ok. But if you
removed the metadata with the second
command then there will be no thumbnail
to extact.

Archive

[Originally posted by akich on 2008-06-23 20:37:47-07]

if it looks ok, than I don't understand why it doesn't works. the thumb is inside the file, I checked it with exifer.

Archive

[Originally posted by exiftool on 2008-06-24 11:37:57-07]

What is the output of this command?:

perl C:\Programme\exiftool\exiftool -ThumbnailImage "G:\exiftool tests\1_crop.jpg"

You should get something like this:

Thumbnail Image                 : (Binary data #### bytes, use -b option to extract)

If you do, then the -b option should work, and redirecting the
output to a file should also work.  If you don't, then exiftool can't find the
thumbnail.  In this case I would like to see a sample, because this would
be new to me.  At any rate, if you can't figure it out, a sample image may
be useful so I can see exactly what you are dealing with.

- Phil

Archive

[Originally posted by akich on 2008-06-24 14:51:54-07]

hi phil

I tried it with the windows cmd-window. Without the -b option nothing happened. I also got no message. With the -b option it works fine. So there must be an other problem in my application, which I had to find.
-aki