:octocat: fixed Imagick example (#258)

This commit is contained in:
smiley
2024-04-19 10:16:17 +02:00
parent 046016e76e
commit 8f5b406880
+1 -1
View File
@@ -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();