Closed hetao29 closed 5 months ago
Describe the bug Parameter $opacity is invalid in place() method
Code Example
$width = 800; $height = 800; $opacity = 5; $opacity = 90; $mgr = Intervention\Image\ImageManager::imagick(); $img = $mgr->create($width,$height)->fill("rgba(238,238,238,1)"); $img_content = $this->getFile("https://1111"); $img_thumb= $mgr->read($img_content); $img->place($img_thumb,"center"); $img_content = $this->getFile("https://22"); $img_thumb_bg = $mgr->read($img_content); $img->place($img_thumb_bg,"center",0,0,$opacity); return $img->toPng()->toString();
Environment (please complete the following information):
Not reproducible.
Describe the bug Parameter $opacity is invalid in place() method
Code Example
Environment (please complete the following information):