I want to extract thumbnail from an image named 1.JPG which is in a folder 'pics' at location C:\Users\sur\Desktop\pics\.
Now I am in folder pics, and trying to extract the thumbnail of 1.JPG, but a windows open with written "File not found: 1.JPG" and close fast. And an image with 0 bytes appears in my folder pics with name thumnail.jpg...
The command looks like this, in my cmd:
C:\Users\sur\Desktop\pics>exiftool -b -ThumbnailImage 1.JPG > thumbnail.jpg
The image 1.JPG has a thumbnail, which I confirmed by viewing exifdata of the image on a website http://regex.info/exif.cgi.
What am I doing wrong?
This sounds just like your other problem (https://exiftool.org/forum/index.php/topic,6445.0.html). You need to open the cmd.exe window first, then type the exiftool command there.
- Phil
Yes, thats what I am doing. I have cmd open, and then In cmd I am in folder pics and writing the command exiftool -b -ThumbnailImage 1.JPG > thumbnail.jpg there...
Attached a screenshot of what I am doing:
No "file not found" message.
Yes, its not in screenshot, because when I write command "exiftool -b -ThumbnailImage 1.JPG > thumbnail.jpg", and press enter, a new cmd window opens on which its written that file not found:1 JPG. That window close very fast itself, so I am not able to take a screenshot of that.
I don't understand that. It should not open another window. Did you ever solve you other problem? It is the same problem with this command.
How did you launch cmd.exe?
See this thread (https://exiftool.org/forum/index.php/topic,4888.0.html) for some help.
- Phil
Thank, now it works :) The problems was that I changed the compatibility of exiftool.exe and changed the setting to run it as administrator, by looking at some solutions on the forum. But now I changed it back, and it works now :)
Just wanted to say thanks for making such a nice tool Phil, and also for providing great support. Many thanks :)