From: Vincent Vanwaelscappel Date: Thu, 7 Aug 2025 15:35:19 +0000 (+0200) Subject: #7684 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=099c3c08d44b8495ce8ed8555c0eeed94613542b;p=cubist_util.git #7684 --- diff --git a/src/CommandLine/Poppler.php b/src/CommandLine/Poppler.php index bce20c7..567a660 100644 --- a/src/CommandLine/Poppler.php +++ b/src/CommandLine/Poppler.php @@ -95,7 +95,7 @@ class Poppler $pdftoppm->setArg('-freetype', (!isset($options['texts']) || $options['texts']) ? 'yes' : 'no'); $pdftoppm->setArg('-singlefile'); self::_crop($pdftoppm, $page, $rect, $options['resolution'], $options['factor']); - self::_exec($pdftoppm, $file, $dest, true); + self::_exec($pdftoppm, $file, $dest); } if (isset($lockFile)) { @@ -133,6 +133,7 @@ class Poppler $pdftocairo->setArg('-paperh', round($invertPaper ? $rect['width'] : $rect['height'])); self::_crop($pdftocairo, $page, $rect, 1, 1); self::_exec($pdftocairo, $file, $destfile); + $pdftocairo->error_log(); return $pdftocairo; }