Merge pull request 'exif: preserve filesystem mtime on GPS write' (#74) from fix/exif-preserve-mtime into master
Reviewed-on: #74
This commit was merged in pull request #74.
This commit is contained in:
@@ -188,6 +188,7 @@ pub fn write_gps(path: &Path, lat: f64, lon: f64) -> Result<()> {
|
||||
let lon_abs = lon.abs();
|
||||
let output = Command::new("exiftool")
|
||||
.arg("-overwrite_original")
|
||||
.arg("-P")
|
||||
.arg(format!("-GPSLatitude={}", lat_abs))
|
||||
.arg(format!("-GPSLatitudeRef={}", lat_ref))
|
||||
.arg(format!("-GPSLongitude={}", lon_abs))
|
||||
|
||||
Reference in New Issue
Block a user