exif: write in-place

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/953/head
Varun Patil 2023-11-24 13:18:47 -08:00
parent 75f7c969de
commit 294feef80b
1 changed files with 1 additions and 1 deletions

View File

@ -334,7 +334,7 @@ class Exif
$data['SourceFile'] = $path; $data['SourceFile'] = $path;
$raw = json_encode([$data], JSON_UNESCAPED_UNICODE); $raw = json_encode([$data], JSON_UNESCAPED_UNICODE);
$cmd = array_merge(self::getExiftool(), [ $cmd = array_merge(self::getExiftool(), [
'-overwrite_original', '-n', '-overwrite_original_in_place', '-n',
'-api', 'LargeFileSupport=1', '-api', 'LargeFileSupport=1',
'-json=-', $path, '-json=-', $path,
]); ]);