Skip to content

Commit

Permalink
:octocat: QRImagick: fix square pixel draw size
Browse files Browse the repository at this point in the history
  • Loading branch information
codemasher committed Sep 8, 2023
1 parent 85776d2 commit 29b58f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Output/QRImagick.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,8 @@ protected function module(int $x, int $y, int $M_TYPE):void{
$this->imagickDraw->rectangle(
($x * $this->scale),
($y * $this->scale),
(($x + 1) * $this->scale),
(($y + 1) * $this->scale)
((($x + 1) * $this->scale) - 1),
((($y + 1) * $this->scale) - 1)
);
}

Expand Down

0 comments on commit 29b58f3

Please sign in to comment.