After cropping a photo and import to the Exif data of the original photo, the included thumbnail does not correspond with the cropped photo.
I've seen methods to import a thumbnail to an image, but, is there some method of Exiftool to recreate the thumbnail of an image?
Thanks a lot.
Emilio
Hi Emilio,
Sorry, no. ExifTool does not do image manipulations.
- Phil
Many Thanks Phil
Maybe can someone tell me any application with which to create the thumbnail of the cropped image?
Thanks again.
PS: I used to use Exiftool to those things but I'm afraid that it is not too appropriate.
I use ImageMagick's "convert" utility to do image manipulations like this. Once you have generated the thumbnail, ExifTool can insert it into the JPEG for you.
- Phil
Hi Phil:
I wonder if this ImageMagick can be used
in the command line... in Windows?.
Among the so many different version of this program there is one
for windows... but I can not make it work...
Any advice.
Thanks
The other Emilio ;)
Quote from: Phil Harvey on June 30, 2013, 07:57:17 PM
I use ImageMagick's "convert" utility to do image manipulations like this. Once you have generated the thumbnail, ExifTool can insert it into the JPEG for you.
- Phil
Sorry, I haven't tried ImageMagick in Windows. Maybe someone else here has experience with this.
- Phil
Thanks Phil :D, Saludos tocayo ;)
I'll try mageMagick.
To do this on a single file, you could use this command (replace <file> with the full path to the file):
convert -thumbnail 100x100 -quality 80 -strip <file> jpeg:- | ExifTool "-ThumbnailImage<=-" <file>
or create a .bat file with this
convert -thumbnail 100x100 -quality 80 -strip %1 jpeg:- | ExifTool "-ThumbnailImage<=-" %1
For a bigger/smaller thumb, change the "100x100" to whatever size you want the thumb to be bounded by. Add other options into the ExifTool part as you need.
For processing multiple files, things would get a bit tricky, as ImageMagick's Convert command will only operate on single files. I see bat file examples where you could do a directory like this, but I don't know enough about windows bat files to tell if you could make one where you could pick a few files out of a directory or not.