소스 검색

:octocat: fixed Imagick example (#258)

smiley 1 년 전
부모
커밋
f701ae4674
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      examples/imagickWithLogo.php

+ 1 - 1
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();