From aa3a586a443ce9d0fa23b32877bee4266e55f82d Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Thu, 14 Sep 2023 16:35:30 +0200 Subject: [PATCH] wip #4209 @0.25 --- resources/tools/fwstk/.idea/workspace.xml | 1 + src/PDFTools.php | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/tools/fwstk/.idea/workspace.xml b/resources/tools/fwstk/.idea/workspace.xml index df6d0b0..538d078 100644 --- a/resources/tools/fwstk/.idea/workspace.xml +++ b/resources/tools/fwstk/.idea/workspace.xml @@ -492,6 +492,7 @@ + 1487172253077 diff --git a/src/PDFTools.php b/src/PDFTools.php index 4d37136..8efe03b 100644 --- a/src/PDFTools.php +++ b/src/PDFTools.php @@ -478,7 +478,7 @@ class PDFTools if ($mode !== 'standard') { $out .= '/' . $mode; } - $out=Files::mkdir($out); + $out = Files::mkdir($out); $fwstk = new FWSTK(); $fwstk->setArg('--input ' . $pdf); @@ -503,7 +503,6 @@ class PDFTools if (!file_exists($out)) { $pdftocairo = new CommandLine('pdftocairo'); - $pdftocairo->setPath(CONVERTER_PATH); $pdftocairo->setArg(null, '-pdf'); $pdftocairo->setArg(null, $in); $pdftocairo->setArg(null, $out); -- 2.39.5