parent
3c52125c0f
commit
1e881fb93b
|
@ -268,7 +268,11 @@ 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(), ['-overwrite_original', '-json=-', $path]);
|
$cmd = array_merge(self::getExiftool(), [
|
||||||
|
'-overwrite_original',
|
||||||
|
'-api', 'LargeFileSupport=1',
|
||||||
|
'-json=-', $path,
|
||||||
|
]);
|
||||||
$proc = proc_open($cmd, [
|
$proc = proc_open($cmd, [
|
||||||
0 => ['pipe', 'r'],
|
0 => ['pipe', 'r'],
|
||||||
1 => ['pipe', 'w'],
|
1 => ['pipe', 'w'],
|
||||||
|
|
Loading…
Reference in New Issue