tacticalbas.blogg.se

Mac how to use exiftool
Mac how to use exiftool











mac how to use exiftool

test.jpegĮrror: Bad PreviewIFD directory - test.jpeg When trying to do a similar thing as suggested by Casto Salobreña i got the following error: $ exiftool -XMP:GPSLatitude=1.2843265 -XMP:GPSLongitude=36.8798949 -GPSLatitudeRef=South -GPSLongitudeRef=East -P test.jpeg The values are just floating point numbers as got from Google Maps for example. To add the gps coordinates with exiftool: exiftool -XMP:GPSLongitude="-84.683333" -XMP:GPSLatitude="10.502117" -GPSLongitudeRef="West" -GPSLatitudeRef="North" photo.jpg Output <- system(paste("exiftool -GPSLatitude=",q," -GPSLongitude=",p," ", aa)) Solution 2 Output <- system(sprintf("exiftool -GPSLatitude=%f -GPSLongitude=%f %s",q,p,aa)) Result from the thread on the exiftool forum













Mac how to use exiftool