From f701ae4674a71fab526227ff49a3c08d0117bccb Mon Sep 17 00:00:00 2001 From: smiley Date: Fri, 19 Apr 2024 13:46:28 +0200 Subject: [PATCH] :octocat: fixed Imagick example (#258) --- examples/imagickWithLogo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/imagickWithLogo.php b/examples/imagickWithLogo.php index 0fd7f1986..da894b36c 100644 --- a/examples/imagickWithLogo.php +++ b/examples/imagickWithLogo.php @@ -46,7 +46,7 @@ class QRImagickWithLogo extends QRImagick{ $imLogo->resizeImage($size, $size, Imagick::FILTER_LANCZOS, 0.85, true); // add the logo to the qrcode - $this->imagick->compositeImage($imLogo, Imagick::COMPOSITE_ATOP, $pos, $pos); + $this->imagick->compositeImage($imLogo, Imagick::COMPOSITE_BLEND, $pos, $pos); // output (retain functionality of the parent class) $imageData = $this->imagick->getImageBlob();