I have a folder with subfolders containing multiple images. Most of them already have Geotags, but for some GPS was turned off, so there is no EXIF.
From a csv-file I already managed to write Long/Lat-Values in EXIF with exiftool.
To being able to upload them as .kml/.kmz with an attached PopUp-Image I found out the EXIF also needs to include ImageWidth and ImageHeight (otherwise Scripts or Programms like Mapollage just process the files with the regular EXIF). In their Metadata (f.ex. if I open Properties in Windows Explorer) the Images without EXIF have values for their size, f.ex. Width: 1400, Height: 1080.
Is there a way to copy/write these values from the General Metadata in the EXIF with the help of exiftool (f.ex. by creating tags)?
I'm not very experienced in programming so I didn't find a suitable script to do is automatically.
Thanks already for the help!
Try the command in this post
https://exiftool.org/forum/index.php/topic,2088.msg9169.html#msg9169
Worked perfectly! Thank you very much for the quick help!