|
@@ -46,7 +46,7 @@ class QRImagickWithLogo extends QRImagick{
|
|
|
$imLogo->resizeImage($size, $size, Imagick::FILTER_LANCZOS, 0.85, true);
|
|
$imLogo->resizeImage($size, $size, Imagick::FILTER_LANCZOS, 0.85, true);
|
|
|
|
|
|
|
|
// add the logo to the qrcode
|
|
// 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)
|
|
// output (retain functionality of the parent class)
|
|
|
$imageData = $this->imagick->getImageBlob();
|
|
$imageData = $this->imagick->getImageBlob();
|