passing info from ExifTool to ImageMagick

Started by Pappis, August 13, 2024, 11:29:13 AM

Previous topic - Next topic

Pappis

I have a large group of photos. I know how to extract the photo creation date and time. How do I pass this information to ImageMagick so that I can add this info to the image (like old point-n shoot cameras used to do)? Can I do this with a DOS/Windows batch file?

StarGeek

I would suggest adding the metadata after you do the processing with ImageMagick rather than tell IM to add the data.

The exact command would depend upon the actual file names saved by IM. For an example, if you saved the processed files in a different directory with the same filename, your command would be something like
exiftool -TagsFromFile /path/to/originals/%f.%e -Time:all /path/to/processed/

This would copy all time related tags from the files in the originals directory to the matching files in the processed directory.
"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