diff --git a/lib/Exif.php b/lib/Exif.php index 904f10b9..2331d259 100644 --- a/lib/Exif.php +++ b/lib/Exif.php @@ -12,7 +12,7 @@ class Exif { private const FORBIDDEN_EDIT_MIMES = ['image/bmp', 'image/x-dcraw', 'video/MP2T']; private const EXIFTOOL_TIMEOUT = 30000; - private const EXIFTOOL_ARGS = ['-api', 'QuickTimeUTC=1', '-n', '-U', '-json', '--b']; + private const EXIFTOOL_ARGS = ['-api', 'QuickTimeUTC=1', '-n', '-json', '--b']; /** Opened instance of exiftool when running in command mode */ private static $staticProc; @@ -370,7 +370,7 @@ class Exif public static function getExifWithDuplicates(string $path) { - return self::getExifFromLocalPathWithSeparateProc($path, ['-G4']); + return self::getExifFromLocalPathWithSeparateProc($path, ['-U', '-G4']); } private static function getExiftool(): array