Skip to content

Commit

Permalink
Fix bug with unwanted color in DrawLineModifier
Browse files Browse the repository at this point in the history
See: #1347
  • Loading branch information
olivervogel committed May 5, 2024
1 parent 72f455b commit 033d12e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Drivers/Imagick/Modifiers/DrawLineModifier.php
Expand Up @@ -19,6 +19,7 @@ public function apply(ImageInterface $image): ImageInterface
{
$drawing = new ImagickDraw();
$drawing->setStrokeWidth($this->drawable->width());
$drawing->setFillOpacity(0);
$drawing->setStrokeColor(
$this->driver()->colorProcessor($image->colorspace())->colorToNative(
$this->backgroundColor()
Expand Down

0 comments on commit 033d12e

Please sign in to comment.