From: Vincent Vanwaelscappel Date: Wed, 27 Aug 2025 15:07:56 +0000 (+0200) Subject: #7704 @1 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=ca40b10933d5cc3222a5e1cbb4312770e31321dc;p=cubist_util.git #7704 @1 --- 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);