'-all:all>all:all'), so the information is copied to the same family 1 group. So to me it seems like the string concatenation in the exec() function is formed properly for exiftool but something must be happening before the command is passed by ImageJ to the system. So to copy all information and preserve the original structure, use this syntax: exiftool -tagsfromfile src.jpg -all:all dst.jpg In this command, since no destination tag was specified, the destination is the same as the source (ie. When I run this on the command line in Ubuntu it works just fine. The string created within the exec function is: exiftool -tagsfromfile "/media/nedhorning/684EE5FF4EE5C642/AMNH/PhotoMonitoring/Vignetting/test image/2016_0401_105800_094.JPG" "/media/nedhorning/684EE5FF4EE5C642/AMNH/PhotoMonitoring/Vignetting/output image/2016_0401_105800_094.jpg" The exiftool needs double-quotes if the path has spaces. This is the line giving me problems: exec(exiftoolDirectory + "exiftool -tagsfromfile " + "\"" + inDirectory + filesToProcess + "\"" + " " + "\"" + outDirectory + outputFileName + "\"") exiftool nature05428.pdf ExifTool Version Number : 6.95 File Name : nature05428.pdf. In this guide, we’ll switch back and forth between the Windows command prompt, PowerShell, and even Bash in Ubuntu. Metadata of a PDF File Using exiftool Command Step 1: You can install exiftool on. I have it working but a colleague asked me to make it work with spaces in directory paths and now I’m stuck. Exiftool can run on any major operating system only with some minor differences in syntax. I am writing a macro and at the end I want to run exiftool to copy metadata from one image to another.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |