Skip to content

Commit f701ae4

Browse files
committed
:octocat: fixed Imagick example (#258)
1 parent b9688a0 commit f701ae4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/imagickWithLogo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function dump(string $file = null):string{
4646
$imLogo->resizeImage($size, $size, Imagick::FILTER_LANCZOS, 0.85, true);
4747

4848
// add the logo to the qrcode
49-
$this->imagick->compositeImage($imLogo, Imagick::COMPOSITE_ATOP, $pos, $pos);
49+
$this->imagick->compositeImage($imLogo, Imagick::COMPOSITE_BLEND, $pos, $pos);
5050

5151
// output (retain functionality of the parent class)
5252
$imageData = $this->imagick->getImageBlob();

0 commit comments

Comments
 (0)