From ca40b10933d5cc3222a5e1cbb4312770e31321dc Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 27 Aug 2025 17:07:56 +0200 Subject: [PATCH] #7704 @1 --- src/CommandLine/Poppler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CommandLine/Poppler.php b/src/CommandLine/Poppler.php index b5cfa01..c278ff9 100644 --- a/src/CommandLine/Poppler.php +++ b/src/CommandLine/Poppler.php @@ -24,7 +24,6 @@ class Poppler 'background' => true, ); - $options = array_merge($defaultOptions, $options); $options['factor'] = $options['resolution'] / self::RESOLUTION_FACTOR; return $options; @@ -121,6 +120,7 @@ class Poppler public static function extractAreaFilehash($file, $page, $rect, $options): string { + $options = static::_normalizeExtractAreaOptions($options); $f = Files::hashFileAttributes($file) . '||' . '++' . json_encode($rect) . '**' . json_encode($options) . '||' . $page . '!!'; $hash = hash('sha256', $f); error_log($f . '//' . $hash); -- 2.39.5