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.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

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