How to generate thumbnail for a picutre with cli

Started by ytzhiyuan, February 24, 2023, 01:51:10 AM

Previous topic - Next topic

ytzhiyuan

I need to generate thumbnail for a picture.It is best to define the thumbnail size.

StarGeek

Exiftool cannot modify the actual image data, only the metadata of a file.  You'll want to look at something like ImageMagick to create thumbnails from the command line.  After the thumbnail has been created, then exiftool can embed that thumbnail.  See this example command.
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

ytzhiyuan

Quote from: StarGeek on February 24, 2023, 01:58:33 AMExiftool cannot modify the actual image data, only the metadata of a file.  You'll want to look at something like ImageMagick to create thumbnails from the command line.  After the thumbnail has been created, then exiftool can embed that thumbnail.  See this example command.
ok,thanks