From: Vincent Vanwaelscappel Date: Tue, 18 Feb 2025 20:08:51 +0000 (+0100) Subject: wip #7340 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=814fcf2d088a5cc1fb1eaa1ca21e91eb10c9091e;p=cubist_pdf.git wip #7340 @0.5 --- diff --git a/.idea/cubist_pdf.iml b/.idea/cubist_pdf.iml index a252244..3f1fb7b 100644 --- a/.idea/cubist_pdf.iml +++ b/.idea/cubist_pdf.iml @@ -15,7 +15,6 @@ - @@ -35,7 +34,6 @@ - @@ -51,7 +49,6 @@ - @@ -75,6 +72,16 @@ + + + + + + + + + + diff --git a/.idea/php.xml b/.idea/php.xml index bae7fde..99e07f6 100644 --- a/.idea/php.xml +++ b/.idea/php.xml @@ -32,7 +32,6 @@ - @@ -48,7 +47,6 @@ - @@ -72,6 +70,16 @@ + + + + + + + + + + diff --git a/src/PDFTools.php b/src/PDFTools.php index 410296a..0741144 100644 --- a/src/PDFTools.php +++ b/src/PDFTools.php @@ -438,7 +438,7 @@ class PDFTools if (null !== $height) { $exe->setArg('-scale-to-y ' . $height); } - $exe->setArg(null, '-transparent'); + $exe->setArg(null, '-transp'); $exe->setArg(null, '-' . $format); $exe->setArg(null, $input); $exe->setArg(null, $tmp);