From cb69751c3bc090a7fdd2f2601bbe10f28d225f10 Mon Sep 17 00:00:00 2001 From: smiley Date: Sun, 10 Jul 2022 19:12:55 +0200 Subject: [PATCH] :shower: --- src/Output/QRImagick.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Output/QRImagick.php b/src/Output/QRImagick.php index 21d4c3912..852439d88 100644 --- a/src/Output/QRImagick.php +++ b/src/Output/QRImagick.php @@ -104,6 +104,7 @@ class QRImagick extends QROutputAbstract{ */ protected function drawImage():void{ $this->imagickDraw = new ImagickDraw; + $this->imagickDraw->setStrokeWidth(0); foreach($this->matrix->matrix() as $y => $row){ foreach($row as $x => $M_TYPE){ @@ -118,7 +119,6 @@ class QRImagick extends QROutputAbstract{ * draws a single pixel at the given position */ protected function setPixel(int $x, int $y, int $M_TYPE):void{ - $this->imagickDraw->setStrokeColor($this->moduleValues[$M_TYPE]); $this->imagickDraw->setFillColor($this->moduleValues[$M_TYPE]); $this->options->drawCircularModules && $this->matrix->checkTypeNotIn($x, $y, $this->options->keepAsSquare)